pub enum Type {
Show 26 variants
Void,
Bool,
Char,
I8,
U8,
I16,
U16,
I32,
U32,
I64,
U64,
F32,
F64,
ISize,
USize,
String,
Object,
AttributeEnum,
Name(TypeName),
Array(Box<Self>),
ArrayRef(Box<Self>),
ConstRef(Box<Self>),
Generic(u16),
PtrMut(Box<Self>, usize),
PtrConst(Box<Self>, usize),
ArrayFixed(Box<Self>, usize),
}Variants§
Void
Bool
Char
I8
U8
I16
U16
I32
U32
I64
U64
F32
F64
ISize
USize
String
Object
AttributeEnum
Name(TypeName)
Array(Box<Self>)
ArrayRef(Box<Self>)
ConstRef(Box<Self>)
Generic(u16)
PtrMut(Box<Self>, usize)
PtrConst(Box<Self>, usize)
ArrayFixed(Box<Self>, usize)
Implementations§
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 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