Struct rydis::PtrOperand
source · pub struct PtrOperand {
pub segment: u16,
pub offset: u32,
}Expand description
A pointer operand, for example 0x10:0x1234.
Fields§
§segment: u16the segment value.
offset: u32the offset value.
Trait Implementations§
source§impl Clone for PtrOperand
impl Clone for PtrOperand
source§fn clone(&self) -> PtrOperand
fn clone(&self) -> PtrOperand
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 PtrOperand
impl Debug for PtrOperand
source§impl Hash for PtrOperand
impl Hash for PtrOperand
source§impl PartialEq for PtrOperand
impl PartialEq for PtrOperand
source§fn eq(&self, other: &PtrOperand) -> bool
fn eq(&self, other: &PtrOperand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PtrOperand
impl StructuralEq for PtrOperand
impl StructuralPartialEq for PtrOperand
Auto Trait Implementations§
impl RefUnwindSafe for PtrOperand
impl Send for PtrOperand
impl Sync for PtrOperand
impl Unpin for PtrOperand
impl UnwindSafe for PtrOperand
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