[][src]Struct xed_sys::xed_decoded_inst_s

#[repr(C)]pub struct xed_decoded_inst_s {
    pub _operands: xed_operand_storage_t,
    pub _operand_order: [u8; 5],
    pub _n_operand_order: u8,
    pub _decoded_length: u8,
    pub _inst: *const xed_inst_t,
    pub _byte_array: xed_decoded_inst_s__bindgen_ty_1,
    pub u: xed_decoded_inst_s__bindgen_ty_2,
}

@ingroup DEC The main container for instructions. After decode, it holds an array of operands with derived information from decode and also valid #xed_inst_t pointer which describes the operand templates and the operand order. See @ref DEC for API documentation.

Fields

_operands: xed_operand_storage_t

The operands are storage for information discovered during decoding. They are also used by encode. The accessors for these operands all have the form xed3_operand{get,set}*(). They should be considered internal and subject to change over time. It is preferred that you use xed_decoded_inst() or the xed_operand_values_() functions when available.

_operand_order: [u8; 5]

Used for encode operand ordering. Not set by decode.

_n_operand_order: u8

Length of the _operand_order[] array.

_decoded_length: u8_inst: *const xed_inst_t

when we decode an instruction, we set the _inst and get the properites of that instruction here. This also points to the operands template array.

_byte_array: xed_decoded_inst_s__bindgen_ty_1u: xed_decoded_inst_s__bindgen_ty_2

Trait Implementations

impl Clone for xed_decoded_inst_s[src]

impl Copy for xed_decoded_inst_s[src]

impl Debug for xed_decoded_inst_s[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.