pub enum MirType {
I32,
F32,
F16,
F64,
Bool,
Ptr,
}Expand description
MIR type, a lowered version of HIR types.
Variants§
I32
32-bit integer (signed or unsigned).
F32
32-bit float.
F16
16-bit float.
F64
64-bit float.
Bool
Boolean predicate.
Ptr
Pointer (32-bit address).
Implementations§
Trait Implementations§
impl Copy for MirType
impl Eq for MirType
impl StructuralPartialEq for MirType
Auto Trait Implementations§
impl Freeze for MirType
impl RefUnwindSafe for MirType
impl Send for MirType
impl Sync for MirType
impl Unpin for MirType
impl UnsafeUnpin for MirType
impl UnwindSafe for MirType
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