pub struct InstrId(pub u32);Expand description
Identifies one instruction, and therefore the value it produces.
The IR is in SSA form: there is no separate destination field, so a value is named by the id of the instruction that computes it.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for InstrId
Source§impl<'de> Deserialize<'de> for InstrId
impl<'de> Deserialize<'de> for InstrId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InstrId
Source§impl Ord for InstrId
impl Ord for InstrId
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 InstrId
impl PartialOrd for InstrId
impl StructuralPartialEq for InstrId
Auto Trait Implementations§
impl Freeze for InstrId
impl RefUnwindSafe for InstrId
impl Send for InstrId
impl Sync for InstrId
impl Unpin for InstrId
impl UnsafeUnpin for InstrId
impl UnwindSafe for InstrId
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