#[repr(transparent)]pub struct MagicId(pub u16);Tuple Fields§
§0: u16Trait Implementations§
source§impl Ord for MagicId
impl Ord for MagicId
source§impl PartialEq<MagicId> for MagicId
impl PartialEq<MagicId> for MagicId
source§impl PartialOrd<MagicId> for MagicId
impl PartialOrd<MagicId> for MagicId
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 MagicId
impl Eq for MagicId
impl StructuralEq for MagicId
impl StructuralPartialEq for MagicId
Auto Trait Implementations§
impl RefUnwindSafe for MagicId
impl Send for MagicId
impl Sync for MagicId
impl Unpin for MagicId
impl UnwindSafe for MagicId
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