Struct themelios::types::LocalCharId
source · #[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 copy 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<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<LocalCharId> for LocalCharId
impl PartialEq<LocalCharId> for LocalCharId
source§fn eq(&self, other: &LocalCharId) -> bool
fn eq(&self, other: &LocalCharId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<LocalCharId> for LocalCharId
impl PartialOrd<LocalCharId> for LocalCharId
source§fn partial_cmp(&self, other: &LocalCharId) -> Option<Ordering>
fn partial_cmp(&self, other: &LocalCharId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for LocalCharId
impl Eq for LocalCharId
impl StructuralEq for LocalCharId
impl StructuralPartialEq for LocalCharId
Auto Trait Implementations§
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