pub struct InstructionData {
pub opcode: Opcode,
pub args: Vec<Value>,
}Expand description
A struct that stores information about an instruction.
Fields§
§opcode: OpcodeThe opcode of the instruction, which is translated directly to bytecode.
args: Vec<Value>A list of instruction arguments.
Trait Implementations§
Source§impl Clone for InstructionData
impl Clone for InstructionData
Source§fn clone(&self) -> InstructionData
fn clone(&self) -> InstructionData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InstructionData
impl RefUnwindSafe for InstructionData
impl Send for InstructionData
impl Sync for InstructionData
impl Unpin for InstructionData
impl UnsafeUnpin for InstructionData
impl UnwindSafe for InstructionData
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