pub struct InstId(pub NonZeroU32);Expand description
Index of an instruction in the IR.
Tuple Fields§
§0: NonZeroU32Implementations§
Trait Implementations§
impl Copy for InstId
impl Eq for InstId
Source§impl Ord for InstId
impl Ord for InstId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for InstId
impl PartialOrd for InstId
impl StructuralPartialEq for InstId
Auto Trait Implementations§
impl Freeze for InstId
impl RefUnwindSafe for InstId
impl Send for InstId
impl Sync for InstId
impl Unpin for InstId
impl UnsafeUnpin for InstId
impl UnwindSafe for InstId
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