[][src]Enum wasmer_interface_types::interpreter::Instruction

pub enum Instruction {
    ArgumentGet {
        index: u32,
    },
    CallCore {
        function_index: usize,
    },
    MemoryToString,
    StringToMemory {
        allocator_index: u32,
    },
    I32ToS8,
    I32ToS8X,
    I32ToU8,
    I32ToS16,
    I32ToS16X,
    I32ToU16,
    I32ToS32,
    I32ToU32,
    I32ToS64,
    I32ToU64,
    I64ToS8,
    I64ToS8X,
    I64ToU8,
    I64ToS16,
    I64ToS16X,
    I64ToU16,
    I64ToS32,
    I64ToS32X,
    I64ToU32,
    I64ToS64,
    I64ToU64,
    S8ToI32,
    U8ToI32,
    S16ToI32,
    U16ToI32,
    S32ToI32,
    U32ToI32,
    S64ToI32,
    S64ToI32X,
    U64ToI32,
    U64ToI32X,
    S8ToI64,
    U8ToI64,
    S16ToI64,
    U16ToI64,
    S32ToI64,
    U32ToI64,
    S64ToI64,
    U64ToI64,
}

Represents all the possible WIT instructions.

Variants

ArgumentGet

The arg.get instruction.

Fields of ArgumentGet

index: u32

The argument index.

CallCore

The call-core instruction.

Fields of CallCore

function_index: usize

The function index.

MemoryToString

The memory-to-string instruction.

StringToMemory

The string-to-memory instruction.

Fields of StringToMemory

allocator_index: u32

The allocator function index.

I32ToS8

The i32-to-s8, instruction.

I32ToS8X

The i32-to-s8x, instruction.

I32ToU8

The i32-to-u8, instruction.

I32ToS16

The i32-to-s16, instruction.

I32ToS16X

The i32-to-s16x, instruction.

I32ToU16

The i32-to-u16, instruction.

I32ToS32

The i32-to-s32, instruction.

I32ToU32

The i32-to-u32, instruction.

I32ToS64

The i32-to-s64, instruction.

I32ToU64

The i32-to-u64, instruction.

I64ToS8

The i64-to-s8, instruction.

I64ToS8X

The i64-to-s8x, instruction.

I64ToU8

The i64-to-u8, instruction.

I64ToS16

The i64-to-s16, instruction.

I64ToS16X

The i64-to-s16x, instruction.

I64ToU16

The i64-to-u16, instruction.

I64ToS32

The i64-to-s32, instruction.

I64ToS32X

The i64-to-s32x, instruction.

I64ToU32

The i64-to-u32, instruction.

I64ToS64

The i64-to-s64, instruction.

I64ToU64

The i64-to-u64, instruction.

S8ToI32

The s8-to-i32, instruction.

U8ToI32

The u8-to-i32, instruction.

S16ToI32

The s16-to-i32, instruction.

U16ToI32

The u16-to-i32, instruction.

S32ToI32

The s32-to-i32, instruction.

U32ToI32

The u32-to-i32, instruction.

S64ToI32

The s64-to-i32, instruction.

S64ToI32X

The s64-to-i32x, instruction.

U64ToI32

The u64-to-i32, instruction.

U64ToI32X

The u64-to-i32x, instruction.

S8ToI64

The s8-to-i64, instruction.

U8ToI64

The u8-to-i64, instruction.

S16ToI64

The s16-to-i64, instruction.

U16ToI64

The u16-to-i64, instruction.

S32ToI64

The s32-to-i64, instruction.

U32ToI64

The u32-to-i64, instruction.

S64ToI64

The s64-to-i64, instruction.

U64ToI64

The u64-to-i64, instruction.

Trait Implementations

impl Debug for Instruction[src]

impl<'a> Parse<'a> for Instruction[src]

impl PartialEq<Instruction> for Instruction[src]

impl StructuralPartialEq for Instruction[src]

impl<W> ToBytes<W> for Instruction where
    W: Write
[src]

Encode an Instruction into bytes.

Decoder is decoders::binary::instruction.

impl<'_> ToString for &'_ Instruction[src]

Encode an Instruction into a string.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.