Struct go_engine::ffi::Instruction
source · pub struct Instruction {
pub op0: Opcode,
pub op1: Opcode,
pub t0: ValueType,
pub t1: ValueType,
pub d: i32,
pub s0: i32,
pub s1: i32,
}Fields§
§op0: Opcode§op1: Opcode§t0: ValueType§t1: ValueType§d: i32§s0: i32§s1: i32Implementations§
source§impl Instruction
impl Instruction
pub fn op1_as_t(&self) -> ValueType
pub fn max_write_index(instructions: &[Instruction]) -> i32
Trait Implementations§
source§impl Clone for Instruction
impl Clone for Instruction
source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more