Enum wast::ModuleField
source · [−]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>)
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>)
Trait Implementations
sourceimpl<'a> Debug for ModuleField<'a>
impl<'a> Debug for ModuleField<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModuleField<'a>
impl<'a> Send for ModuleField<'a>
impl<'a> Sync for ModuleField<'a>
impl<'a> Unpin for ModuleField<'a>
impl<'a> UnwindSafe for ModuleField<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more