#[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
sourceimpl PartialEq<BasicType> for BasicType
impl PartialEq<BasicType> for BasicType
sourceimpl PartialOrd<BasicType> for BasicType
impl PartialOrd<BasicType> for BasicType
sourcefn partial_cmp(&self, other: &BasicType) -> Option<Ordering>
fn partial_cmp(&self, other: &BasicType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more