#[repr(transparent)]pub struct TyId(pub u32);Expand description
32-bit interned type identifier within a shard’s TyArena.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for TyId
impl Eq for TyId
Source§impl Ord for TyId
impl Ord for TyId
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for TyId
impl PartialOrd for TyId
impl StructuralPartialEq for TyId
Auto Trait Implementations§
impl Forget for TyId
impl Freeze for TyId
impl Move for TyId
impl RefUnwindSafe for TyId
impl Send for TyId
impl Sync for TyId
impl Unpin for TyId
impl UnsafeUnpin for TyId
impl UnwindSafe for TyId
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