pub enum OpCode {
Show 46 variants
LoadNil,
LoadBool,
LoadConst,
LoadGlobal,
StoreGlobal,
Move,
Add,
Sub,
Mul,
Div,
Mod,
Neg,
Eq,
Ne,
Lt,
Le,
Gt,
Ge,
And,
Or,
Not,
Jump,
JumpIf,
JumpIfNot,
Call,
Return,
NewArray,
NewMap,
NewStruct,
NewEnumUnit,
NewEnumVariant,
TupleNew,
TupleGet,
IsEnumVariant,
GetEnumValue,
GetField,
SetField,
GetIndex,
ArrayLen,
SetIndex,
Concat,
CallMethod,
TypeIs,
LoadUpvalue,
StoreUpvalue,
Closure,
}Variants§
LoadNil
LoadBool
LoadConst
LoadGlobal
StoreGlobal
Move
Add
Sub
Mul
Div
Mod
Neg
Eq
Ne
Lt
Le
Gt
Ge
And
Or
Not
Jump
JumpIf
JumpIfNot
Call
Return
NewArray
NewMap
NewStruct
NewEnumUnit
NewEnumVariant
TupleNew
TupleGet
IsEnumVariant
GetEnumValue
GetField
SetField
GetIndex
ArrayLen
SetIndex
Concat
CallMethod
TypeIs
LoadUpvalue
StoreUpvalue
Closure
Trait Implementations§
impl Copy for OpCode
impl Eq for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations§
impl Freeze for OpCode
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnsafeUnpin for OpCode
impl UnwindSafe for OpCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.