pub enum Type {
Show 35 variants
Unknown,
Struct,
Enum,
Bool,
I8,
U8,
I16,
U16,
I32,
U32,
I64,
U64,
I128,
U128,
F32,
F64,
Range,
RefStr,
String,
Array,
Tuple,
Vec,
CPtr,
Ptr,
NonNull,
Ref,
RefMut,
Box,
Rc,
Option,
Result,
BTreeSet,
HashSet,
BTreeMap,
HashMap,
}
Expand description
Type constructs.
Variants§
Unknown
Struct
Enum
Bool
I8
U8
I16
U16
I32
U32
I64
U64
I128
U128
F32
F64
Range
RefStr
String
Array
Tuple
Vec
CPtr
Ptr
NonNull
Ref
RefMut
Box
Rc
Option
Result
BTreeSet
HashSet
BTreeMap
HashMap
Implementations§
Trait Implementations§
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl Copy for Type
impl Eq for Type
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