#[non_exhaustive]pub struct HirId { /* private fields */ }Expand description
Stable identifier for a HIR item within one lowered file.
Implementations§
Trait Implementations§
impl Copy for HirId
impl Eq for HirId
Source§impl Ord for HirId
impl Ord for HirId
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
Source§impl PartialOrd for HirId
impl PartialOrd for HirId
impl StructuralPartialEq for HirId
Auto Trait Implementations§
impl Freeze for HirId
impl RefUnwindSafe for HirId
impl Send for HirId
impl Sync for HirId
impl Unpin for HirId
impl UnsafeUnpin for HirId
impl UnwindSafe for HirId
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