Enum wast::ModuleField[][src]

pub enum ModuleField<'a> {
Show variants Type(Type<'a>), Import(Import<'a>), Func(Func<'a>), Table(Table<'a>), Memory(Memory<'a>), Global(Global<'a>), Export(Export<'a>), Start(ItemRef<'a, func>), Elem(Elem<'a>), Data(Data<'a>), Event(Event<'a>), Custom(Custom<'a>), Instance(Instance<'a>), NestedModule(NestedModule<'a>), Alias(Alias<'a>),
}
Expand description

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(ItemRef<'a, func>)
Elem(Elem<'a>)
Data(Data<'a>)
Event(Event<'a>)
Custom(Custom<'a>)
Instance(Instance<'a>)
NestedModule(NestedModule<'a>)
Alias(Alias<'a>)

Trait Implementations

Formats the value using the given formatter. Read more

Attempts to parse Self from parser, returning an error if it could not be parsed. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.