pub enum MirTy {
I64,
F64,
I8,
Ptr,
Unit,
}Expand description
A machine-level value class for one MIR temporary.
Variants§
I64
64-bit integer (Int, Char).
F64
64-bit float.
I8
Boolean (byte-sized).
Ptr
Opaque pointer (String, Bytes, sum values, function values).
Unit
No runtime value (unit / diverging results).
Trait Implementations§
impl Copy for MirTy
impl Eq for MirTy
impl StructuralPartialEq for MirTy
Auto Trait Implementations§
impl Freeze for MirTy
impl RefUnwindSafe for MirTy
impl Send for MirTy
impl Sync for MirTy
impl Unpin for MirTy
impl UnsafeUnpin for MirTy
impl UnwindSafe for MirTy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.