Enum wast::ModuleField[][src]

pub enum ModuleField<'a> {
Show 15 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>), Tag(Tag<'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>)

Tuple Fields of Type

0: Type<'a>
Import(Import<'a>)

Tuple Fields of Import

0: Import<'a>
Func(Func<'a>)

Tuple Fields of Func

0: Func<'a>
Table(Table<'a>)

Tuple Fields of Table

0: Table<'a>
Memory(Memory<'a>)

Tuple Fields of Memory

0: Memory<'a>
Global(Global<'a>)

Tuple Fields of Global

0: Global<'a>
Export(Export<'a>)

Tuple Fields of Export

0: Export<'a>
Start(ItemRef<'a, func>)

Tuple Fields of Start

0: ItemRef<'a, func>
Elem(Elem<'a>)

Tuple Fields of Elem

0: Elem<'a>
Data(Data<'a>)

Tuple Fields of Data

0: Data<'a>
Tag(Tag<'a>)

Tuple Fields of Tag

0: Tag<'a>
Custom(Custom<'a>)

Tuple Fields of Custom

0: Custom<'a>
Instance(Instance<'a>)

Tuple Fields of Instance

0: Instance<'a>
NestedModule(NestedModule<'a>)

Tuple Fields of NestedModule

0: NestedModule<'a>
Alias(Alias<'a>)

Tuple Fields of Alias

0: 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.