pub enum BasicType {
Show 28 variants
Invalid,
Bool,
Int,
Int8,
Int16,
Int32,
Int64,
Uint,
Uint8,
Uint16,
Uint32,
Uint64,
Uintptr,
Float32,
Float64,
Complex64,
Complex128,
Str,
UnsafePointer,
UntypedBool,
UntypedInt,
UntypedRune,
UntypedFloat,
UntypedComplex,
UntypedString,
UntypedNil,
Byte,
Rune,
}
Variants§
Invalid
Bool
Int
Int8
Int16
Int32
Int64
Uint
Uint8
Uint16
Uint32
Uint64
Uintptr
Float32
Float64
Complex64
Complex128
Str
UnsafePointer
UntypedBool
UntypedInt
UntypedRune
UntypedFloat
UntypedComplex
UntypedString
UntypedNil
Byte
Rune
Implementations§
Trait Implementations§
Source§impl Ord for BasicType
impl Ord for BasicType
Source§impl PartialOrd for BasicType
impl PartialOrd for BasicType
impl Copy for BasicType
impl Eq for BasicType
impl StructuralPartialEq for BasicType
Auto Trait Implementations§
impl Freeze for BasicType
impl RefUnwindSafe for BasicType
impl Send for BasicType
impl Sync for BasicType
impl Unpin for BasicType
impl UnwindSafe for BasicType
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