Enum zydis::MemoryOperandType
source · #[repr(C)]pub enum MemoryOperandType {
INVALID = 0,
MEM = 1,
AGEN = 2,
MIB = 3,
VSIB = 4,
}
Expand description
Defines the ZydisMemoryOperandType
enum.
Variants§
INVALID = 0
MEM = 1
Normal memory operand.
AGEN = 2
The memory operand is only used for address-generation. No real memory-access is caused.
MIB = 3
A memory operand using SIB
addressing form, where the index register is not used in address calculation and scale is ignored. No real memory-access is caused.
VSIB = 4
A vector SIB
memory addressing operand (VSIB
).
Trait Implementations§
source§impl Clone for MemoryOperandType
impl Clone for MemoryOperandType
source§fn clone(&self) -> MemoryOperandType
fn clone(&self) -> MemoryOperandType
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 MemoryOperandType
impl Debug for MemoryOperandType
source§impl<'de> Deserialize<'de> for MemoryOperandType
impl<'de> Deserialize<'de> for MemoryOperandType
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 MemoryOperandType
impl Hash for MemoryOperandType
source§impl PartialEq for MemoryOperandType
impl PartialEq for MemoryOperandType
source§fn eq(&self, other: &MemoryOperandType) -> bool
fn eq(&self, other: &MemoryOperandType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MemoryOperandType
impl Serialize for MemoryOperandType
impl Copy for MemoryOperandType
impl Eq for MemoryOperandType
impl StructuralPartialEq for MemoryOperandType
Auto Trait Implementations§
impl RefUnwindSafe for MemoryOperandType
impl Send for MemoryOperandType
impl Sync for MemoryOperandType
impl Unpin for MemoryOperandType
impl UnwindSafe for MemoryOperandType
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