pub enum Instruction {
Constant(Operand),
Get(Operand),
Set(Operand),
Nop(u64),
Call(u64, Operand),
Skip(u64),
}
Expand description
An instruction.
Variants§
Constant(Operand)
A constant
instruction.
Get(Operand)
A get
instruction.
Set(Operand)
A set
instruction.
Nop(u64)
A nop
instruction.
Call(u64, Operand)
A call
instruction.
Skip(u64)
A skip
instruction.
It is used only for encoding.
Implementations§
Source§impl Instruction
impl Instruction
Trait Implementations§
Source§impl Debug for Instruction
impl Debug for Instruction
Source§impl PartialEq for Instruction
impl PartialEq for Instruction
impl Eq for Instruction
impl StructuralPartialEq for Instruction
Auto Trait Implementations§
impl Freeze for Instruction
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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