Enum repc_impl::layout::BuiltinType [−][src]
pub enum BuiltinType {
Show 28 variants
Unit,
Bool,
U8,
U16,
U32,
U64,
U128,
I8,
I16,
I32,
I64,
I128,
Char,
SignedChar,
UnsignedChar,
Short,
UnsignedShort,
Int,
UnsignedInt,
Long,
UnsignedLong,
LongLong,
UnsignedLongLong,
F32,
F64,
Float,
Double,
Pointer,
}
Expand description
A builtin type.
This includes both builtin Rust and C types. The Rust types will be treated like the corresponding C types if possible. If the type does not exist on the target, the results might not be meaningful.
Variants
Unit
()
Bool
bool
U8
u8
U16
u16
U32
u32
U64
u64
U128
u128
I8
i8
I16
i16
I32
i32
I64
i64
I128
i128
Char
c_char
SignedChar
c_schar
UnsignedChar
c_uchar
Short
c_short
UnsignedShort
c_ushort
Int
c_int
UnsignedInt
c_uint
Long
c_long
UnsignedLong
c_ulong
LongLong
c_longlong
UnsignedLongLong
c_ulonglong
F32
f32
F64
f64
Float
c_float
Double
c_double
Pointer
*const T
,*mut T
, &T
, &mut T
for sized T
; fn()
, Option<fn()>
, etc.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BuiltinType
impl Send for BuiltinType
impl Sync for BuiltinType
impl Unpin for BuiltinType
impl UnwindSafe for BuiltinType
Blanket Implementations
Mutably borrows from an owned value. Read more