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