Struct stable_mir::DefId
source · pub struct DefId(pub usize);
Expand description
A unique identification number for each item accessible for the current compilation unit.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl PartialEq<DefId> for DefId
impl PartialEq<DefId> for DefId
impl Copy for DefId
impl Eq for DefId
impl StructuralEq for DefId
impl StructuralPartialEq for DefId
Auto Trait Implementations§
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