Struct capstone_sys::arm_op_mem
source · #[repr(C)]pub struct arm_op_mem {
pub base: Type,
pub index: Type,
pub scale: c_int,
pub disp: c_int,
pub lshift: c_int,
}
Expand description
Instruction’s operand referring to memory This is associated with ARM_OP_MEM operand type above
Fields§
§base: Type
< base register
index: Type
< index register
scale: c_int
< scale for index register (can be 1, or -1)
disp: c_int
< displacement/offset value
lshift: c_int
left-shift on index register, or 0 if irrelevant NOTE: this value can also be fetched via operand.shift.value
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for arm_op_mem
impl Send for arm_op_mem
impl Sync for arm_op_mem
impl Unpin for arm_op_mem
impl UnwindSafe for arm_op_mem
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