Enum wasmer_interface_types_fl::interpreter::Instruction [−][src]
pub enum Instruction {
Show 50 variants
ArgumentGet {
index: u32,
},
CallCore {
function_index: u32,
},
BoolFromI32,
S8FromI32,
S8FromI64,
S16FromI32,
S16FromI64,
S32FromI32,
S32FromI64,
S64FromI32,
S64FromI64,
I32FromBool,
I32FromS8,
I32FromS16,
I32FromS32,
I32FromS64,
I64FromS8,
I64FromS16,
I64FromS32,
I64FromS64,
U8FromI32,
U8FromI64,
U16FromI32,
U16FromI64,
U32FromI32,
U32FromI64,
U64FromI32,
U64FromI64,
I32FromU8,
I32FromU16,
I32FromU32,
I32FromU64,
I64FromU8,
I64FromU16,
I64FromU32,
I64FromU64,
StringLiftMemory,
StringLowerMemory,
ByteArraySize,
ByteArrayLiftMemory,
ByteArrayLowerMemory,
StringSize,
ArrayLiftMemory {
value_type: IType,
},
ArrayLowerMemory {
value_type: IType,
},
RecordLiftMemory {
record_type_id: u32,
},
RecordLowerMemory {
record_type_id: u32,
},
PushI32 {
value: i32,
},
PushI64 {
value: i64,
},
Dup,
Swap2,
}
Expand description
Represents all the possible WIT instructions.
Variants
The arg.get
instruction.
Fields of ArgumentGet
index: u32
The argument index.
The call-core
instruction.
Fields of CallCore
function_index: u32
The function index.
The bool.from_i32` instruction.
The s8.from_i32
instruction.
The s8.from_i64
instruction.
The s16.from_i32
instruction.
The s16.from_i64
instruction.
The s32.from_i32
instruction.
The s32.from_i64
instruction.
The s64.from_i32
instruction.
The s64.from_i64
instruction.
The i32.from_bool instruction.
The i32.from_s8
instruction.
The i32.from_s16
instruction.
The i32.from_s32
instruction.
The i32.from_s64
instruction.
The i64.from_s8
instruction.
The i64.from_s16
instruction.
The i64.from_s32
instruction.
The i64.from_s64
instruction.
The u8.from_i32
instruction.
The u8.from_i64
instruction.
The u16.from_i32
instruction.
The u16.from_i64
instruction.
The u32.from_i32
instruction.
The u32.from_i64
instruction.
The u64.from_i32
instruction.
The u64.from_i64
instruction.
The i32.from_u8
instruction.
The i32.from_u16
instruction.
The i32.from_u32
instruction.
The i32.from_u64
instruction.
The i64.from_u8
instruction.
The i64.from_u16
instruction.
The i64.from_u32
instruction.
The i64.from_u64
instruction.
The string.lift_memory
instruction.
The string.lower_memory
instruction.
The byte_array.size
instruction.
The byte_array.lift_memory
instruction.
The byte_array.lower_memory
instruction.
The string.size
instruction.
The array.lift_memory
instruction.
Fields of ArrayLiftMemory
value_type: IType
Array value type.
The array.lower_memory
instruction.
Fields of ArrayLowerMemory
value_type: IType
Array value type.
The record.lift_memory
instruction.
Fields of RecordLiftMemory
record_type_id: u32
The type index of the record.
The record.lower_memory
instruction.
Fields of RecordLowerMemory
record_type_id: u32
The type index of the record.
The i32.push
instruction.
Fields of PushI32
value: i32
The value that should be pushed on the stack.
The i64.push
instruction.
Fields of PushI64
value: i64
The value that should be pushed on the stack.
The dup
instructions.
The swap
instructions.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Encode an Instruction
into bytes.
Decoder is decoders::binary::instruction
.
Encode an Instruction
into a string.
Auto Trait Implementations
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
Blanket Implementations
Mutably borrows from an owned value. Read more