pub enum RegMem {
Reg {
reg: Reg,
},
Mem {
addr: SyntheticAmode,
},
}
Available on crate feature
x86
only.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