pub enum TypeDef<'a> {
Defined(ComponentDefinedType<'a>),
Func(ComponentFunctionType<'a>),
Component(ComponentType<'a>),
Instance(InstanceType<'a>),
}
Expand description
A definition of a component type.
Variants
Defined(ComponentDefinedType<'a>)
A defined value type.
Func(ComponentFunctionType<'a>)
A component function type.
Component(ComponentType<'a>)
A component type.
Instance(InstanceType<'a>)
An instance type.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TypeDef<'a>
impl<'a> Send for TypeDef<'a>
impl<'a> Sync for TypeDef<'a>
impl<'a> Unpin for TypeDef<'a>
impl<'a> UnwindSafe for TypeDef<'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