#[non_exhaustive]pub struct PirId { /* private fields */ }Expand description
Stable identifier for a PIR node within one lowering receipt.
IDs are internally deterministic for the same source, compiler environment, and configuration. They are not guaranteed stable across versions or unrelated workspaces.
Implementations§
Trait Implementations§
impl Copy for PirId
impl Eq for PirId
Source§impl Ord for PirId
impl Ord for PirId
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 PirId
impl PartialOrd for PirId
impl StructuralPartialEq for PirId
Auto Trait Implementations§
impl Freeze for PirId
impl RefUnwindSafe for PirId
impl Send for PirId
impl Sync for PirId
impl Unpin for PirId
impl UnsafeUnpin for PirId
impl UnwindSafe for PirId
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