InstDesc

Struct InstDesc 

Source
pub struct InstDesc { /* private fields */ }

Implementations§

Source§

impl InstDesc

Source

pub fn has_modrm(&self) -> bool

Source

pub fn modrm_idx(&self) -> u8

Source

pub fn has_modreg(&self) -> bool

Source

pub fn modreg_idx(&self) -> u8

Source

pub fn has_vexreg(&self) -> bool

Source

pub fn vexreg_idx(&self) -> u8

Source

pub fn imm_control(&self) -> u8

Source

pub fn imm_idx(&self) -> u8

Source

pub fn evex_bcst(&self) -> bool

Source

pub fn evex_mask(&self) -> bool

Source

pub fn zeroreg_val(&self) -> bool

Source

pub fn lock(&self) -> bool

Source

pub fn vsib(&self) -> bool

Source

pub fn opsize(&self) -> u8

Source

pub fn modrm_size(&self) -> u8

Source

pub fn modreg_size(&self) -> u8

Source

pub fn vexreg_size(&self) -> u8

Source

pub fn imm_size(&self) -> u8

Source

pub fn legacy(&self) -> bool

Source

pub fn size_fix1(&self) -> u8

Source

pub fn size_fix2(&self) -> u8

Source

pub fn instr_width(&self) -> bool

Source

pub fn modrm(&self) -> bool

Source

pub fn ign66(&self) -> bool

Source

pub fn evex_sae(&self) -> bool

Source

pub fn evex_er(&self) -> bool

Source

pub fn evex_bcst16(&self) -> bool

Source

pub fn regty_modrm(&self) -> u8

Source

pub fn regty_modreg(&self) -> u8

Source

pub fn regty_vexreg(&self) -> u8

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.