pub enum OpCode {
Show 197 variants
Pushint8,
Pushint16,
Pushint32,
Pushint64,
Pushint128,
Pushint256,
PushT,
PushF,
PushA,
PushNull,
Pushdata1,
Pushdata2,
Pushdata4,
PushM1,
Push0,
Push1,
Push2,
Push3,
Push4,
Push5,
Push6,
Push7,
Push8,
Push9,
Push10,
Push11,
Push12,
Push13,
Push14,
Push15,
Push16,
Nop,
Jmp,
Jmp_L,
Jmpif,
Jmpif_L,
Jmpifnot,
Jmpifnot_L,
JmpEq,
JmpEq_L,
JmpNe,
JmpNe_L,
JmpGt,
JmpGt_L,
JmpGe,
JmpGe_L,
JmpLt,
JmpLt_L,
JmpLe,
JmpLe_L,
Call,
Call_L,
CallA,
CallT,
Abort,
Assert,
Throw,
Try,
TryL,
Endtry,
EndtryL,
Endfinally,
Ret,
Syscall,
Depth,
Drop,
Nip,
Xdrop,
Clear,
Dup,
Over,
Pick,
Tuck,
Swap,
Rot,
Roll,
Reverse3,
Reverse4,
Reversen,
Initsslot,
Initslot,
Ldsfld0,
Ldsfld1,
Ldsfld2,
Ldsfld3,
Ldsfld4,
Ldsfld5,
Ldsfld6,
Ldsfld,
Stsfld0,
Stsfld1,
Stsfld2,
Stsfld3,
Stsfld4,
Stsfld5,
Stsfld6,
Stsfld,
Ldloc0,
Ldloc1,
Ldloc2,
Ldloc3,
Ldloc4,
Ldloc5,
Ldloc6,
Ldloc,
Stloc0,
Stloc1,
Stloc2,
Stloc3,
Stloc4,
Stloc5,
Stloc6,
Stloc,
Ldarg0,
Ldarg1,
Ldarg2,
Ldarg3,
Ldarg4,
Ldarg5,
Ldarg6,
Ldarg,
Starg0,
Starg1,
Starg2,
Starg3,
Starg4,
Starg5,
Starg6,
Starg,
Newbuffer,
Memcpy,
Cat,
Substr,
Left,
Right,
Invert,
And,
Or,
Xor,
Equal,
Notequal,
Sign,
Abs,
Negate,
Inc,
Dec,
Add,
Sub,
Mul,
Div,
Mod,
Pow,
Sqrt,
Modmul,
Modpow,
Shl,
Shr,
Not,
Booland,
Boolor,
Nz,
Numequal,
Numnotequal,
Lt,
Le,
Gt,
Ge,
Min,
Max,
Within,
Packmap,
Packstruct,
Pack,
Unpack,
Newarray0,
Newarray,
NewarrayT,
Newstruct0,
Newstruct,
Newmap,
Size,
Haskey,
Keys,
Values,
Pickitem,
Append,
Setitem,
Reverseitems,
Remove,
Clearitems,
Popitem,
Isnull,
Istype,
Convert,
Abortmsg,
Assertmsg,
Unknown(u8),
}Variants§
Pushint8
Pushint16
Pushint32
Pushint64
Pushint128
Pushint256
PushT
PushF
PushA
PushNull
Pushdata1
Pushdata2
Pushdata4
PushM1
Push0
Push1
Push2
Push3
Push4
Push5
Push6
Push7
Push8
Push9
Push10
Push11
Push12
Push13
Push14
Push15
Push16
Nop
Jmp
Jmp_L
Jmpif
Jmpif_L
Jmpifnot
Jmpifnot_L
JmpEq
JmpEq_L
JmpNe
JmpNe_L
JmpGt
JmpGt_L
JmpGe
JmpGe_L
JmpLt
JmpLt_L
JmpLe
JmpLe_L
Call
Call_L
CallA
CallT
Abort
Assert
Throw
Try
TryL
Endtry
EndtryL
Endfinally
Ret
Syscall
Depth
Drop
Nip
Xdrop
Clear
Dup
Over
Pick
Tuck
Swap
Rot
Roll
Reverse3
Reverse4
Reversen
Initsslot
Initslot
Ldsfld0
Ldsfld1
Ldsfld2
Ldsfld3
Ldsfld4
Ldsfld5
Ldsfld6
Ldsfld
Stsfld0
Stsfld1
Stsfld2
Stsfld3
Stsfld4
Stsfld5
Stsfld6
Stsfld
Ldloc0
Ldloc1
Ldloc2
Ldloc3
Ldloc4
Ldloc5
Ldloc6
Ldloc
Stloc0
Stloc1
Stloc2
Stloc3
Stloc4
Stloc5
Stloc6
Stloc
Ldarg0
Ldarg1
Ldarg2
Ldarg3
Ldarg4
Ldarg5
Ldarg6
Ldarg
Starg0
Starg1
Starg2
Starg3
Starg4
Starg5
Starg6
Starg
Newbuffer
Memcpy
Cat
Substr
Left
Right
Invert
And
Or
Xor
Equal
Notequal
Sign
Abs
Negate
Inc
Dec
Add
Sub
Mul
Div
Mod
Pow
Sqrt
Modmul
Modpow
Shl
Shr
Not
Booland
Boolor
Nz
Numequal
Numnotequal
Lt
Le
Gt
Ge
Min
Max
Within
Packmap
Packstruct
Pack
Unpack
Newarray0
Newarray
NewarrayT
Newstruct0
Newstruct
Newmap
Size
Haskey
Keys
Values
Pickitem
Append
Setitem
Reverseitems
Remove
Clearitems
Popitem
Isnull
Istype
Convert
Abortmsg
Assertmsg
Unknown(u8)
Implementations§
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 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.