pub enum MemOp {
Indirect(Reg64),
IndirectDisp(Reg64, i32),
IndirectBaseIndex(Reg64, Reg64),
}
Expand description
Type representing a memory operand.
Variants§
Indirect(Reg64)
An indirect memory operand, eg mov [rax], rcx
.
IndirectDisp(Reg64, i32)
An indirect memory operand with additional displacement, eg mov [rax + 0x10], rcx
.
IndirectBaseIndex(Reg64, Reg64)
An indirect memory operand in the form base + index, eg mov [rax + rcx], rdx
.
Trait Implementations§
impl Copy for MemOp
Auto Trait Implementations§
impl Freeze for MemOp
impl RefUnwindSafe for MemOp
impl Send for MemOp
impl Sync for MemOp
impl Unpin for MemOp
impl UnwindSafe for MemOp
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
)