Struct librsnek::system::primitives::Instr
[−]
[src]
pub struct Instr(pub OpCode, pub Option<Native>);
Instruction type used by the compiler and interpreter
Methods
impl Instr
[src]
fn to_tuple(&self) -> (OpCode, Option<Native>)
fn code(&self) -> OpCode
fn value(&self) -> Option<Native>
Trait Implementations
impl Debug for Instr
[src]
impl Clone for Instr
[src]
fn clone(&self) -> Instr
Returns a copy of the value.
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
.