Struct stable_mir::crate_def::DefId
source · pub struct DefId(pub(crate) usize);
Expand description
A unique identification number for each item accessible for the current compilation unit.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl IndexedVal for DefId
impl IndexedVal for DefId
source§impl PartialEq for DefId
impl PartialEq for DefId
impl Copy for DefId
impl Eq for DefId
impl StructuralPartialEq for DefId
Auto Trait Implementations§
impl Freeze for DefId
impl RefUnwindSafe for DefId
impl Send for DefId
impl Sync for DefId
impl Unpin for DefId
impl UnwindSafe for DefId
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes