[][src]Enum wast::ModuleField

pub enum ModuleField<'a> {
    Type(Type<'a>),
    Import(Import<'a>),
    Func(Func<'a>),
    Table(Table<'a>),
    Memory(Memory<'a>),
    Global(Global<'a>),
    Export(Export<'a>),
    Start(Index<'a>),
    Elem(Elem<'a>),
    Data(Data<'a>),
}

A listing of all possible fields that can make up a WebAssembly module.

Variants

Type(Type<'a>)
Import(Import<'a>)
Func(Func<'a>)
Table(Table<'a>)
Memory(Memory<'a>)
Global(Global<'a>)
Export(Export<'a>)
Start(Index<'a>)
Elem(Elem<'a>)
Data(Data<'a>)

Trait Implementations

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

impl<'a> Debug for ModuleField<'a>[src]

Auto Trait Implementations

impl<'a> Send for ModuleField<'a>

impl<'a> Sync for ModuleField<'a>

impl<'a> Unpin for ModuleField<'a>

impl<'a> UnwindSafe for ModuleField<'a>

impl<'a> RefUnwindSafe for ModuleField<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]