Struct zydis::ffi::EncoderOperand
source · #[repr(C)]pub struct EncoderOperand {
pub ty: OperandType,
pub reg: OperandRegister,
pub mem: OperandMemory,
pub ptr: OperandPointer,
pub imm: u64,
}
Fields§
§ty: OperandType
§reg: OperandRegister
§mem: OperandMemory
§ptr: OperandPointer
§imm: u64
This can be either a i64 or u64, but raw unions are kind of unergonomic to use in Rust.
Trait Implementations§
source§impl Clone for EncoderOperand
impl Clone for EncoderOperand
source§fn clone(&self) -> EncoderOperand
fn clone(&self) -> EncoderOperand
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 EncoderOperand
impl Debug for EncoderOperand
source§impl<'de> Deserialize<'de> for EncoderOperand
impl<'de> Deserialize<'de> for EncoderOperand
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for EncoderOperand
impl Hash for EncoderOperand
source§impl PartialEq for EncoderOperand
impl PartialEq for EncoderOperand
source§fn eq(&self, other: &EncoderOperand) -> bool
fn eq(&self, other: &EncoderOperand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EncoderOperand
impl Serialize for EncoderOperand
impl Eq for EncoderOperand
impl StructuralPartialEq for EncoderOperand
Auto Trait Implementations§
impl RefUnwindSafe for EncoderOperand
impl Send for EncoderOperand
impl Sync for EncoderOperand
impl Unpin for EncoderOperand
impl UnwindSafe for EncoderOperand
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