pub struct Insn(pub u64);Expand description
Identifies an NNIL value by its stable position in the instruction list.
The tuple field is public so a backend can use the number directly. The wrapper prevents a value handle from being used by mistake as a guest address or label.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for Insn
impl Eq for Insn
Source§impl Ord for Insn
impl Ord for Insn
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 Insn
impl PartialOrd for Insn
impl StructuralPartialEq for Insn
Auto Trait Implementations§
impl Freeze for Insn
impl RefUnwindSafe for Insn
impl Send for Insn
impl Sync for Insn
impl Unpin for Insn
impl UnsafeUnpin for Insn
impl UnwindSafe for Insn
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