pub enum TypeDef<'a> {
    Func(FunctionType<'a>),
    Struct(StructType<'a>),
    Array(ArrayType<'a>),
    Module(ModuleType<'a>),
    Instance(InstanceType<'a>),
}Expand description
A definition of a type.
Variants
Func(FunctionType<'a>)
A function type definition.
Struct(StructType<'a>)
A struct type definition.
Array(ArrayType<'a>)
An array type definition.
Module(ModuleType<'a>)
A module type definition.
Instance(InstanceType<'a>)
An instance type definition.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more