pub struct NameId(pub NonZeroU32);Expand description
Index of a name (identifier) in the IR.
Tuple Fields§
§0: NonZeroU32Trait Implementations§
Source§impl Ord for NameId
impl Ord for NameId
Source§impl PartialOrd for NameId
impl PartialOrd for NameId
impl Copy for NameId
impl Eq for NameId
impl StructuralPartialEq for NameId
Auto Trait Implementations§
impl Freeze for NameId
impl RefUnwindSafe for NameId
impl Send for NameId
impl Sync for NameId
impl Unpin for NameId
impl UnsafeUnpin for NameId
impl UnwindSafe for NameId
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