[][src]Struct wasmer_interface_types::ast::Adapter

pub struct Adapter<'input> {
    pub function_type: u32,
    pub instructions: Vec<Instruction<'input>>,
}

Represents an adapter.

Fields

function_type: u32

The adapter function type.

instructions: Vec<Instruction<'input>>

The instructions.

Trait Implementations

impl<'input> Debug for Adapter<'input>[src]

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

impl<'input> PartialEq<Adapter<'input>> for Adapter<'input>[src]

impl<'input> StructuralPartialEq for Adapter<'input>[src]

impl<'_, W> ToBytes<W> for Adapter<'_> where
    W: Write
[src]

Encode an Adapter into bytes.

Decoder is in decoders::binary::adapters.

impl<'input, '_> ToString for &'_ Adapter<'input>[src]

Encode an Adapter into a string.

Auto Trait Implementations

impl<'input> RefUnwindSafe for Adapter<'input>

impl<'input> Send for Adapter<'input>

impl<'input> Sync for Adapter<'input>

impl<'input> Unpin for Adapter<'input>

impl<'input> UnwindSafe for Adapter<'input>

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.