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>
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>