pub enum InstanceTypeDecl<'a> {
CoreType(CoreType<'a>),
Type(Type<'a>),
Alias(Alias<'a>),
Export(ComponentExportType<'a>),
}Available on crate feature
component-model only.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§
Source§impl<'a> Debug for InstanceTypeDecl<'a>
impl<'a> Debug for InstanceTypeDecl<'a>
Source§impl<'a> From<Alias<'a>> for InstanceTypeDecl<'a>
impl<'a> From<Alias<'a>> for InstanceTypeDecl<'a>
Auto Trait Implementations§
impl<'a> Freeze for InstanceTypeDecl<'a>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more