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

pub enum Instruction {
    ArgumentGet {
        index: u32,
    },
    CallCore {
        function_index: u32,
    },
    S8FromI32,
    S8FromI64,
    S16FromI32,
    S16FromI64,
    S32FromI32,
    S32FromI64,
    S64FromI32,
    S64FromI64,
    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,
    StringSize,
    RecordLift {
        type_index: u32,
    },
    RecordLower {
        type_index: u32,
    },
}

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: u32

The function index.

S8FromI32

The s8.from_i32 instruction.

S8FromI64

The s8.from_i64 instruction.

S16FromI32

The s16.from_i32 instruction.

S16FromI64

The s16.from_i64 instruction.

S32FromI32

The s32.from_i32 instruction.

S32FromI64

The s32.from_i64 instruction.

S64FromI32

The s64.from_i32 instruction.

S64FromI64

The s64.from_i64 instruction.

I32FromS8

The i32.from_s8 instruction.

I32FromS16

The i32.from_s16 instruction.

I32FromS32

The i32.from_s32 instruction.

I32FromS64

The i32.from_s64 instruction.

I64FromS8

The i64.from_s8 instruction.

I64FromS16

The i64.from_s16 instruction.

I64FromS32

The i64.from_s32 instruction.

I64FromS64

The i64.from_s64 instruction.

U8FromI32

The u8.from_i32 instruction.

U8FromI64

The u8.from_i64 instruction.

U16FromI32

The u16.from_i32 instruction.

U16FromI64

The u16.from_i64 instruction.

U32FromI32

The u32.from_i32 instruction.

U32FromI64

The u32.from_i64 instruction.

U64FromI32

The u64.from_i32 instruction.

U64FromI64

The u64.from_i64 instruction.

I32FromU8

The i32.from_u8 instruction.

I32FromU16

The i32.from_u16 instruction.

I32FromU32

The i32.from_u32 instruction.

I32FromU64

The i32.from_u64 instruction.

I64FromU8

The i64.from_u8 instruction.

I64FromU16

The i64.from_u16 instruction.

I64FromU32

The i64.from_u32 instruction.

I64FromU64

The i64.from_u64 instruction.

StringLiftMemory

The string.lift_memory instruction.

StringLowerMemory

The string.lower_memory instruction.

StringSize

The string.size instruction.

RecordLift

The record.lift instruction.

Fields of RecordLift

type_index: u32

The type index of the record.

RecordLower

The record.lower instruction.

Fields of RecordLower

type_index: u32

The type index of the record.

Trait Implementations

impl Clone for Instruction[src]

impl Copy for Instruction[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.