Enum cl_typeck::definition::Intrinsic
source · pub enum Intrinsic {
I8,
I16,
I32,
I64,
Isize,
U8,
U16,
U32,
U64,
Usize,
Bool,
Char,
}
Expand description
The set of compiler-intrinsic types. These primitive types have native implementations of the basic operations.
Variants§
I8
An 8-bit signed integer: #[intrinsic = "i8"]
I16
A 16-bit signed integer: #[intrinsic = "i16"]
I32
A 32-bit signed integer: #[intrinsic = "i32"]
I64
A 64-bit signed integer: #[intrinsic = "i32"]
Isize
A ptr-len signed integer: #[intrinsic = "isize"]
U8
An 8-bit unsigned integer: #[intrinsic = "u8"]
U16
A 16-bit unsigned integer: #[intrinsic = "u16"]
U32
A 32-bit unsigned integer: #[intrinsic = "u32"]
U64
A 64-bit unsigned integer: #[intrinsic = "u64"]
Usize
A ptr-len unsigned integer: #[intrinsic = "isize"]
Bool
A boolean (true
or false
): #[intrinsic = "bool"]
Char
The unicode codepoint type: #[intrinsic = “char”]
Trait Implementations§
source§impl PartialEq for Intrinsic
impl PartialEq for Intrinsic
impl Eq for Intrinsic
impl StructuralPartialEq for Intrinsic
Auto Trait Implementations§
impl Freeze for Intrinsic
impl RefUnwindSafe for Intrinsic
impl Send for Intrinsic
impl Sync for Intrinsic
impl Unpin for Intrinsic
impl UnwindSafe for Intrinsic
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