Struct rydis::MemOperandIndex
source · pub struct MemOperandIndex {
pub reg: Register,
pub scale: NonZeroU8,
}Expand description
the index of a memory operand, for example the 2*rsi part in [rbp+2*rsi+0x35].
Fields§
§reg: Registerthe index register.
scale: NonZeroU8the scale factor.
Trait Implementations§
source§impl Clone for MemOperandIndex
impl Clone for MemOperandIndex
source§fn clone(&self) -> MemOperandIndex
fn clone(&self) -> MemOperandIndex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MemOperandIndex
impl Debug for MemOperandIndex
source§impl Hash for MemOperandIndex
impl Hash for MemOperandIndex
source§impl PartialEq for MemOperandIndex
impl PartialEq for MemOperandIndex
source§fn eq(&self, other: &MemOperandIndex) -> bool
fn eq(&self, other: &MemOperandIndex) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for MemOperandIndex
impl StructuralEq for MemOperandIndex
impl StructuralPartialEq for MemOperandIndex
Auto Trait Implementations§
impl RefUnwindSafe for MemOperandIndex
impl Send for MemOperandIndex
impl Sync for MemOperandIndex
impl Unpin for MemOperandIndex
impl UnwindSafe for MemOperandIndex
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