#[repr(u32)]pub enum BasicType {
Show 33 variants
Invalid,
Void,
Char,
SignedChar,
UnsignedChar,
WChar,
SignedWChar,
UnsignedWChar,
Char16,
Char32,
Short,
UnsignedShort,
Int,
UnsignedInt,
Long,
UnsignedLong,
LongLong,
UnsignedLongLong,
Int128,
UnsignedInt128,
Bool,
Half,
Float,
Double,
LongDouble,
FloatComplex,
DoubleComplex,
LongDoubleComplex,
ObjCID,
ObjCClass,
ObjCSel,
NullPtr,
Other,
}
Variants§
Invalid
Void
Char
SignedChar
UnsignedChar
WChar
SignedWChar
UnsignedWChar
Char16
Char32
Short
UnsignedShort
Int
UnsignedInt
Long
UnsignedLong
LongLong
UnsignedLongLong
Int128
UnsignedInt128
Bool
Half
Float
Double
LongDouble
FloatComplex
DoubleComplex
LongDoubleComplex
ObjCID
ObjCClass
ObjCSel
NullPtr
Other
Trait Implementations§
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