pub enum TypeDef<'a> {
Func(FunctionType<'a>),
Struct(StructType<'a>),
Array(ArrayType<'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.
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