[][src]Enum wasm_encoder::Export

pub enum Export {
    Function(u32),
    Table(u32),
    Memory(u32),
    Global(u32),
    Instance(u32),
    Module(u32),
}

A WebAssembly export.

Variants

Function(u32)

An export of the nth function.

Table(u32)

An export of the nth table.

Memory(u32)

An export of the nth memory.

Global(u32)

An export of the nth global.

Instance(u32)

An export of the nth instance.

Note that this is part of the module linking proposal and is not currently part of stable WebAssembly.

Module(u32)

An export of the nth module.

Note that this is part of the module linking proposal and is not currently part of stable WebAssembly.

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.