Enum zydis::OperandEncoding
source · #[repr(C)]pub enum OperandEncoding {
Show 35 variants
NONE = 0,
MODRM_REG = 1,
MODRM_RM = 2,
OPCODE = 3,
NDSNDD = 4,
IS4 = 5,
MASK = 6,
DISP8 = 7,
DISP16 = 8,
DISP32 = 9,
DISP64 = 10,
DISP16_32_64 = 11,
DISP32_32_64 = 12,
DISP16_32_32 = 13,
UIMM8 = 14,
UIMM16 = 15,
UIMM32 = 16,
UIMM64 = 17,
UIMM16_32_64 = 18,
UIMM32_32_64 = 19,
UIMM16_32_32 = 20,
SIMM8 = 21,
SIMM16 = 22,
SIMM32 = 23,
SIMM64 = 24,
SIMM16_32_64 = 25,
SIMM32_32_64 = 26,
SIMM16_32_32 = 27,
JIMM8 = 28,
JIMM16 = 29,
JIMM32 = 30,
JIMM64 = 31,
JIMM16_32_64 = 32,
JIMM32_32_64 = 33,
JIMM16_32_32 = 34,
}
Expand description
Defines the ZydisOperandEncoding
enum.
Variants§
NONE = 0
MODRM_REG = 1
MODRM_RM = 2
OPCODE = 3
NDSNDD = 4
IS4 = 5
MASK = 6
DISP8 = 7
DISP16 = 8
DISP32 = 9
DISP64 = 10
DISP16_32_64 = 11
DISP32_32_64 = 12
DISP16_32_32 = 13
UIMM8 = 14
UIMM16 = 15
UIMM32 = 16
UIMM64 = 17
UIMM16_32_64 = 18
UIMM32_32_64 = 19
UIMM16_32_32 = 20
SIMM8 = 21
SIMM16 = 22
SIMM32 = 23
SIMM64 = 24
SIMM16_32_64 = 25
SIMM32_32_64 = 26
SIMM16_32_32 = 27
JIMM8 = 28
JIMM16 = 29
JIMM32 = 30
JIMM64 = 31
JIMM16_32_64 = 32
JIMM32_32_64 = 33
JIMM16_32_32 = 34
Trait Implementations§
source§impl Clone for OperandEncoding
impl Clone for OperandEncoding
source§fn clone(&self) -> OperandEncoding
fn clone(&self) -> OperandEncoding
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 OperandEncoding
impl Debug for OperandEncoding
source§impl<'de> Deserialize<'de> for OperandEncoding
impl<'de> Deserialize<'de> for OperandEncoding
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 OperandEncoding
impl Hash for OperandEncoding
source§impl PartialEq for OperandEncoding
impl PartialEq for OperandEncoding
source§fn eq(&self, other: &OperandEncoding) -> bool
fn eq(&self, other: &OperandEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OperandEncoding
impl Serialize for OperandEncoding
impl Copy for OperandEncoding
impl Eq for OperandEncoding
impl StructuralPartialEq for OperandEncoding
Auto Trait Implementations§
impl RefUnwindSafe for OperandEncoding
impl Send for OperandEncoding
impl Sync for OperandEncoding
impl Unpin for OperandEncoding
impl UnwindSafe for OperandEncoding
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