pub enum Primitive {
Show 17 variants
Bool,
Char,
Char16,
Char32,
WChar,
Int8,
Int16,
Int32,
Int64,
UInt8,
UInt16,
UInt32,
UInt64,
Float,
Double,
LongDouble,
Size,
}Expand description
A C++ built-in type.
Variants§
Bool
bool
Char
char
Char16
char16_t
Char32
char32_t
WChar
wchar_t
Int8
int8_t
Int16
int16_t
Int32
int32_t
Int64
int64_t
UInt8
uint8_t
UInt16
uint16_t
UInt32
uint32_t
UInt64
uint64_t
Float
float
Double
double
LongDouble
long double
Size
size_t
Implementations§
Trait Implementations§
impl Copy for Primitive
impl Eq for Primitive
impl StructuralPartialEq for Primitive
Auto Trait Implementations§
impl Freeze for Primitive
impl RefUnwindSafe for Primitive
impl Send for Primitive
impl Sync for Primitive
impl Unpin for Primitive
impl UnsafeUnpin for Primitive
impl UnwindSafe for Primitive
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