pub enum Def {
Result {
inst: Inst,
index: u8,
},
Param {
block: Block,
index: u32,
},
}Expand description
What defines a value.
Variants§
Result
The result of an instruction, at this position among its results.
Param
A parameter of a block, at this position among its parameters.
Trait Implementations§
impl Copy for Def
impl Eq for Def
impl StructuralPartialEq for Def
Auto Trait Implementations§
impl Freeze for Def
impl RefUnwindSafe for Def
impl Send for Def
impl Sync for Def
impl Unpin for Def
impl UnsafeUnpin for Def
impl UnwindSafe for Def
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