pub enum BuiltinType {
Show 18 variants
Void,
Bool,
Char,
SignedChar,
UnsignedChar,
Short,
UnsignedShort,
Int,
UnsignedInt,
Long,
UnsignedLong,
LongLong,
UnsignedLongLong,
Int128,
UnsignedInt128,
Float,
Double,
LongDouble,
}Expand description
Built-in C-family scalar types.
Variants§
Void
void.
Bool
bool or _Bool.
Char
char.
SignedChar
signed char.
UnsignedChar
unsigned char.
Short
short.
UnsignedShort
unsigned short.
Int
int.
UnsignedInt
unsigned int.
Long
long.
UnsignedLong
unsigned long.
LongLong
long long.
UnsignedLongLong
unsigned long long.
Int128
Signed 128-bit integer.
UnsignedInt128
Unsigned 128-bit integer.
Float
float.
Double
double.
LongDouble
long double.
Trait Implementations§
Source§impl Clone for BuiltinType
impl Clone for BuiltinType
Source§fn clone(&self) -> BuiltinType
fn clone(&self) -> BuiltinType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BuiltinType
Source§impl Debug for BuiltinType
impl Debug for BuiltinType
impl Eq for BuiltinType
Source§impl Hash for BuiltinType
impl Hash for BuiltinType
Source§impl PartialEq for BuiltinType
impl PartialEq for BuiltinType
impl StructuralPartialEq for BuiltinType
Auto Trait Implementations§
impl Freeze for BuiltinType
impl RefUnwindSafe for BuiltinType
impl Send for BuiltinType
impl Sync for BuiltinType
impl Unpin for BuiltinType
impl UnsafeUnpin for BuiltinType
impl UnwindSafe for BuiltinType
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