#[repr(u8)]
pub enum Opcodes {
Show 71 variants
POP,
RET,
BR_TRUE,
BR_FALSE,
BRANCH,
LD_U64,
LD_CONST,
LD_TRUE,
LD_FALSE,
COPY_LOC,
MOVE_LOC,
ST_LOC,
MUT_BORROW_LOC,
IMM_BORROW_LOC,
MUT_BORROW_FIELD,
IMM_BORROW_FIELD,
CALL,
PACK,
UNPACK,
READ_REF,
WRITE_REF,
ADD,
SUB,
MUL,
MOD,
DIV,
BIT_OR,
BIT_AND,
XOR,
OR,
AND,
NOT,
EQ,
NEQ,
LT,
GT,
LE,
GE,
ABORT,
NOP,
EXISTS,
MUT_BORROW_GLOBAL,
IMM_BORROW_GLOBAL,
MOVE_FROM,
MOVE_TO,
FREEZE_REF,
SHL,
SHR,
LD_U8,
LD_U128,
CAST_U8,
CAST_U64,
CAST_U128,
MUT_BORROW_FIELD_GENERIC,
IMM_BORROW_FIELD_GENERIC,
CALL_GENERIC,
PACK_GENERIC,
UNPACK_GENERIC,
EXISTS_GENERIC,
MUT_BORROW_GLOBAL_GENERIC,
IMM_BORROW_GLOBAL_GENERIC,
MOVE_FROM_GENERIC,
MOVE_TO_GENERIC,
VEC_PACK,
VEC_LEN,
VEC_IMM_BORROW,
VEC_MUT_BORROW,
VEC_PUSH_BACK,
VEC_POP_BACK,
VEC_UNPACK,
VEC_SWAP,
}
Expand description
List of opcodes constants.
Variants
POP
RET
BR_TRUE
BR_FALSE
BRANCH
LD_U64
LD_CONST
LD_TRUE
LD_FALSE
COPY_LOC
MOVE_LOC
ST_LOC
MUT_BORROW_LOC
IMM_BORROW_LOC
MUT_BORROW_FIELD
IMM_BORROW_FIELD
CALL
PACK
UNPACK
READ_REF
WRITE_REF
ADD
SUB
MUL
MOD
DIV
BIT_OR
BIT_AND
XOR
OR
AND
NOT
EQ
NEQ
LT
GT
LE
GE
ABORT
NOP
EXISTS
MUT_BORROW_GLOBAL
IMM_BORROW_GLOBAL
MOVE_FROM
MOVE_TO
FREEZE_REF
SHL
SHR
LD_U8
LD_U128
CAST_U8
CAST_U64
CAST_U128
MUT_BORROW_FIELD_GENERIC
IMM_BORROW_FIELD_GENERIC
CALL_GENERIC
PACK_GENERIC
UNPACK_GENERIC
EXISTS_GENERIC
MUT_BORROW_GLOBAL_GENERIC
IMM_BORROW_GLOBAL_GENERIC
MOVE_FROM_GENERIC
MOVE_TO_GENERIC
VEC_PACK
VEC_LEN
VEC_IMM_BORROW
VEC_MUT_BORROW
VEC_PUSH_BACK
VEC_POP_BACK
VEC_UNPACK
VEC_SWAP
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Opcodes
impl Send for Opcodes
impl Sync for Opcodes
impl Unpin for Opcodes
impl UnwindSafe for Opcodes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more