Enum wasm_encoder::Export[][src]

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.

Trait Implementations

impl Clone for Export[src]

impl Copy for Export[src]

impl Debug for Export[src]

Auto Trait Implementations

impl RefUnwindSafe for Export

impl Send for Export

impl Sync for Export

impl Unpin for Export

impl UnwindSafe for Export

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.