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 PartialEq<BasicType> for BasicType
impl PartialEq<BasicType> for BasicType
source§impl PartialOrd<BasicType> for BasicType
impl PartialOrd<BasicType> for BasicType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BasicType
impl Eq for BasicType
impl StructuralEq for BasicType
impl StructuralPartialEq for BasicType
Auto Trait Implementations§
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