pub enum Type {
}Variants§
I8
I16
I32
I64
I128
U8
U16
U32
U64
U128
F32
F64
Bool
Char
String
Unit
Named(String)
Function(Vec<Type>, Box<Type>)
Pointer(Box<Type>)
MutPointer(Box<Type>)
Array(Box<Type>, usize)
Slice(Box<Type>)
TypeVar(String)
Trait Implementations§
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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