[][src]Struct wasmer_interface_types::ast::Export

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

Represents an exported function signature.

Fields

name: &'input str

The export name.

function_type: u32

The WIT function type being exported.

Trait Implementations

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

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

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

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

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

Encode an Export into bytes.

Decoder is in decoders::binary::exports.

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

Encode an Export into a string.

Auto Trait Implementations

impl<'input> RefUnwindSafe for Export<'input>

impl<'input> Send for Export<'input>

impl<'input> Sync for Export<'input>

impl<'input> Unpin for Export<'input>

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