Enum wast::component::ComponentField
source · [−]pub enum ComponentField<'a> {
Show 14 variants
CoreModule(CoreModule<'a>),
CoreInstance(CoreInstance<'a>),
CoreType(CoreType<'a>),
Component(NestedComponent<'a>),
Instance(Instance<'a>),
Alias(Alias<'a>),
Type(Type<'a>),
CanonicalFunc(CanonicalFunc<'a>),
CoreFunc(CoreFunc<'a>),
Func(Func<'a>),
Start(Start<'a>),
Import(ComponentImport<'a>),
Export(ComponentExport<'a>),
Custom(Custom<'a>),
}
Expand description
A listing of all possible fields that can make up a WebAssembly component.
Variants
CoreModule(CoreModule<'a>)
CoreInstance(CoreInstance<'a>)
CoreType(CoreType<'a>)
Component(NestedComponent<'a>)
Instance(Instance<'a>)
Alias(Alias<'a>)
Type(Type<'a>)
CanonicalFunc(CanonicalFunc<'a>)
CoreFunc(CoreFunc<'a>)
Func(Func<'a>)
Start(Start<'a>)
Import(ComponentImport<'a>)
Export(ComponentExport<'a>)
Custom(Custom<'a>)
Trait Implementations
sourceimpl<'a> Debug for ComponentField<'a>
impl<'a> Debug for ComponentField<'a>
sourceimpl<'a> From<Alias<'a>> for ComponentField<'a>
impl<'a> From<Alias<'a>> for ComponentField<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentField<'a>
impl<'a> Send for ComponentField<'a>
impl<'a> Sync for ComponentField<'a>
impl<'a> Unpin for ComponentField<'a>
impl<'a> UnwindSafe for ComponentField<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more