[][src]Struct zydis::ffi::DecodedOperand

#[repr(C)]pub struct DecodedOperand {
    pub id: u8,
    pub ty: OperandType,
    pub visibility: OperandVisibility,
    pub action: OperandAction,
    pub encoding: OperandEncoding,
    pub size: u16,
    pub element_type: ElementType,
    pub element_size: u16,
    pub element_count: u16,
    pub reg: Register,
    pub mem: MemoryInfo,
    pub ptr: PointerInfo,
    pub imm: ImmediateInfo,
}

A decoded operand.

Fields

id: u8

The operand id.

ty: OperandType

The type of the operand.

visibility: OperandVisibility

The visibility of the operand.

action: OperandAction

The operand action.

encoding: OperandEncoding

The operand encoding.

size: u16

The logical size of the operand, in bits.

element_type: ElementType

The element type.

element_size: u16

The size of a single element.

element_count: u16

The number of elements.

reg: Register

The register value.

mem: MemoryInfo

Extended information for memory operands.

ptr: PointerInfo

Extended information for pointer operands.

imm: ImmediateInfo

Extended information for immediate operands.

Trait Implementations

impl Clone for DecodedOperand[src]

impl Debug for DecodedOperand[src]

impl Eq for DecodedOperand[src]

impl Hash for DecodedOperand[src]

impl PartialEq<DecodedOperand> for DecodedOperand[src]

impl StructuralEq for DecodedOperand[src]

impl StructuralPartialEq for DecodedOperand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.