pub enum RegMem {
Reg {
reg: Reg,
},
Mem {
addr: SyntheticAmode,
},
}
Expand description
An operand which is either an integer Register or a value in Memory. This can denote an 8, 16, 32, 64, or 128 bit value.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> From<&'a XmmMemAligned> for &'a RegMem
impl<'a> From<&'a XmmMemAligned> for &'a RegMem
source§fn from(rm: &'a XmmMemAligned) -> &'a RegMem
fn from(rm: &'a XmmMemAligned) -> &'a RegMem
Converts to this type from the input type.
source§impl From<XmmMemAligned> for RegMem
impl From<XmmMemAligned> for RegMem
source§fn from(rm: XmmMemAligned) -> Self
fn from(rm: XmmMemAligned) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegMem
impl RefUnwindSafe for RegMem
impl Send for RegMem
impl Sync for RegMem
impl Unpin for RegMem
impl UnwindSafe for RegMem
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