#[repr(transparent)]pub struct TyDefId(pub u32);Expand description
32-bit interned type-level definition reference within a shard’s ty_defs table.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for TyDefId
impl Eq for TyDefId
Source§impl Ord for TyDefId
impl Ord for TyDefId
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 TyDefId
impl PartialOrd for TyDefId
impl StructuralPartialEq for TyDefId
Auto Trait Implementations§
impl Forget for TyDefId
impl Freeze for TyDefId
impl Move for TyDefId
impl RefUnwindSafe for TyDefId
impl Send for TyDefId
impl Sync for TyDefId
impl Unpin for TyDefId
impl UnsafeUnpin for TyDefId
impl UnwindSafe for TyDefId
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