pub enum MemOp {
BaseOffset(Option<SegReg>, RegSize, Reg, i32),
BaseIndexScaleOffset(Option<SegReg>, RegSize, Reg, RegIndex, Scale, i32),
IndexScaleOffset(Option<SegReg>, RegSize, RegIndex, Scale, i32),
Offset(Option<SegReg>, RegSize, i32),
RipRelative(Option<SegReg>, i32),
}
Variants§
BaseOffset(Option<SegReg>, RegSize, Reg, i32)
segment:base + offset
BaseIndexScaleOffset(Option<SegReg>, RegSize, Reg, RegIndex, Scale, i32)
segment:base + index * scale + offset
IndexScaleOffset(Option<SegReg>, RegSize, RegIndex, Scale, i32)
segment:base * scale + offset
Offset(Option<SegReg>, RegSize, i32)
segment:offset
RipRelative(Option<SegReg>, i32)
segment:rip + offset
Trait Implementations§
impl Copy for MemOp
impl Eq for MemOp
impl StructuralPartialEq 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