#[repr(transparent)]pub struct LocalCharId(pub u16);Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for LocalCharId
impl Clone for LocalCharId
Source§fn clone(&self) -> LocalCharId
fn clone(&self) -> LocalCharId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalCharId
impl Debug for LocalCharId
Source§impl From<LocalCharId> for u16
impl From<LocalCharId> for u16
Source§fn from(LocalCharId: LocalCharId) -> u16
fn from(LocalCharId: LocalCharId) -> u16
Converts to this type from the input type.
Source§impl From<u16> for LocalCharId
impl From<u16> for LocalCharId
Source§fn from(v: u16) -> LocalCharId
fn from(v: u16) -> LocalCharId
Converts to this type from the input type.
Source§impl Hash for LocalCharId
impl Hash for LocalCharId
Source§impl Ord for LocalCharId
impl Ord for LocalCharId
Source§fn cmp(&self, other: &LocalCharId) -> Ordering
fn cmp(&self, other: &LocalCharId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalCharId
impl PartialEq for LocalCharId
Source§impl PartialOrd for LocalCharId
impl PartialOrd for LocalCharId
impl Copy for LocalCharId
impl Eq for LocalCharId
impl StructuralPartialEq for LocalCharId
Auto Trait Implementations§
impl Freeze for LocalCharId
impl RefUnwindSafe for LocalCharId
impl Send for LocalCharId
impl Sync for LocalCharId
impl Unpin for LocalCharId
impl UnwindSafe for LocalCharId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more