Enum wast::component::ComponentTypeDecl
source · [−]pub enum ComponentTypeDecl<'a> {
CoreType(CoreType<'a>),
Type(Type<'a>),
Alias(Alias<'a>),
Import(ComponentImport<'a>),
Export(ComponentExportType<'a>),
}
Expand description
A declaration of a component type.
Variants
CoreType(CoreType<'a>)
A core type definition local to the component type.
Type(Type<'a>)
A type definition local to the component type.
Alias(Alias<'a>)
An alias local to the component type.
Import(ComponentImport<'a>)
An import of the component type.
Export(ComponentExportType<'a>)
An export of the component type.
Trait Implementations
sourceimpl<'a> Debug for ComponentTypeDecl<'a>
impl<'a> Debug for ComponentTypeDecl<'a>
sourceimpl<'a> From<Alias<'a>> for ComponentTypeDecl<'a>
impl<'a> From<Alias<'a>> for ComponentTypeDecl<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentTypeDecl<'a>
impl<'a> Send for ComponentTypeDecl<'a>
impl<'a> Sync for ComponentTypeDecl<'a>
impl<'a> Unpin for ComponentTypeDecl<'a>
impl<'a> UnwindSafe for ComponentTypeDecl<'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