Struct wasmer_interface_types_fl::ast::Import[][src]

pub struct Import<'input> {
    pub namespace: &'input str,
    pub name: &'input str,
    pub function_type: u32,
}

Represents an imported function.

Fields

namespace: &'input str

The function namespace.

name: &'input str

The function name.

function_type: u32

The type signature.

Trait Implementations

impl<'input> Clone for Import<'input>[src]

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

impl<'input> Default for Import<'input>[src]

impl<'input> Eq for Import<'input>[src]

impl<'input> Hash for Import<'input>[src]

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

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

impl<'input> StructuralEq for Import<'input>[src]

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

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

Encode an Import into bytes.

Decoder is in decoders::binary::imports.

impl<'input> ToString for &Import<'input>[src]

Encode an Import into a string.

Auto Trait Implementations

impl<'input> RefUnwindSafe for Import<'input>

impl<'input> Send for Import<'input>

impl<'input> Sync for Import<'input>

impl<'input> Unpin for Import<'input>

impl<'input> UnwindSafe for Import<'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> 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.