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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)