#[repr(u32)]pub enum BasicType {
Show 33 variants
Invalid = 0,
Void = 1,
Char = 2,
SignedChar = 3,
UnsignedChar = 4,
WChar = 5,
SignedWChar = 6,
UnsignedWChar = 7,
Char16 = 8,
Char32 = 9,
Short = 10,
UnsignedShort = 11,
Int = 12,
UnsignedInt = 13,
Long = 14,
UnsignedLong = 15,
LongLong = 16,
UnsignedLongLong = 17,
Int128 = 18,
UnsignedInt128 = 19,
Bool = 20,
Half = 21,
Float = 22,
Double = 23,
LongDouble = 24,
FloatComplex = 25,
DoubleComplex = 26,
LongDoubleComplex = 27,
ObjCID = 28,
ObjCClass = 29,
ObjCSel = 30,
NullPtr = 31,
Other = 32,
}
Variants§
Invalid = 0
Void = 1
Char = 2
SignedChar = 3
UnsignedChar = 4
WChar = 5
SignedWChar = 6
UnsignedWChar = 7
Char16 = 8
Char32 = 9
Short = 10
UnsignedShort = 11
Int = 12
UnsignedInt = 13
Long = 14
UnsignedLong = 15
LongLong = 16
UnsignedLongLong = 17
Int128 = 18
UnsignedInt128 = 19
Bool = 20
Half = 21
Float = 22
Double = 23
LongDouble = 24
FloatComplex = 25
DoubleComplex = 26
LongDoubleComplex = 27
ObjCID = 28
ObjCClass = 29
ObjCSel = 30
NullPtr = 31
Other = 32
Trait Implementations§
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