pub enum GprMem<R: AsReg, M: AsReg> {
Gpr(R),
Mem(Amode<M>),
}
Expand description
A general-purpose register or memory operand.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, M> Freeze for GprMem<R, M>
impl<R, M> RefUnwindSafe for GprMem<R, M>where
R: RefUnwindSafe,
M: RefUnwindSafe,
impl<R, M> Send for GprMem<R, M>
impl<R, M> Sync for GprMem<R, M>
impl<R, M> Unpin for GprMem<R, M>
impl<R, M> UnwindSafe for GprMem<R, M>where
R: UnwindSafe,
M: UnwindSafe,
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