pub enum CraneliftType {
B1,
I8,
I16,
I32,
I64,
I128,
F32,
F64,
R32,
R64,
Vector(Box<CraneliftType>, u32),
Void,
}Expand description
Cranelift IR type representation.
Variants§
B1
1-bit boolean / integer
I8
8-bit integer
I16
16-bit integer
I32
32-bit integer
I64
64-bit integer
I128
128-bit integer
F32
32-bit float (IEEE 754 single-precision)
F64
64-bit float (IEEE 754 double-precision)
R32
32-bit reference (GC-managed pointer)
R64
64-bit reference (GC-managed pointer)
Vector(Box<CraneliftType>, u32)
SIMD vector: i32x4, f64x2, etc.
Void
No type (used for void results / side-effecting instructions)
Implementations§
Trait Implementations§
Source§impl Clone for CraneliftType
impl Clone for CraneliftType
Source§fn clone(&self) -> CraneliftType
fn clone(&self) -> CraneliftType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CraneliftType
impl Debug for CraneliftType
Source§impl Display for CraneliftType
impl Display for CraneliftType
Source§impl Hash for CraneliftType
impl Hash for CraneliftType
Source§impl PartialEq for CraneliftType
impl PartialEq for CraneliftType
impl Eq for CraneliftType
impl StructuralPartialEq for CraneliftType
Auto Trait Implementations§
impl Freeze for CraneliftType
impl RefUnwindSafe for CraneliftType
impl Send for CraneliftType
impl Sync for CraneliftType
impl Unpin for CraneliftType
impl UnsafeUnpin for CraneliftType
impl UnwindSafe for CraneliftType
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