[−][src]Struct x64_asm::REXPrefix
using for 64-bit mode.
Fields
w_bit: bool
related with operand-size.
r_bit: bool
related with reg-field in ModR/M
x_bit: bool
related with index-field in ModR/M
b_bit: bool
related with r/m-field in ModR/M, base in SIB-byte, reg-field in opcode
Implementations
impl REXPrefix
[src]
pub const BASE: u8
[src]
pub const W_BIT: u8
[src]
pub const R_BIT: u8
[src]
pub const X_BIT: u8
[src]
pub const B_BIT: u8
[src]
pub fn new(w: bool, r: bool, x: bool, b: bool) -> Self
[src]
pub fn new_from_mem(is_64bit: bool, rm: &Operand) -> Self
[src]
pub fn new_from_mem_and_reg(
is_64bit: bool,
reg: &GeneralPurposeRegister,
rm: &Operand
) -> Self
[src]
is_64bit: bool,
reg: &GeneralPurposeRegister,
rm: &Operand
) -> Self
pub fn to_byte(&self) -> u8
[src]
pub fn b_bit_from_reg(reg: &GeneralPurposeRegister) -> u8
[src]
pub fn r_bit_from_reg(reg: &GeneralPurposeRegister) -> u8
[src]
Trait Implementations
impl Clone for REXPrefix
[src]
impl Copy for REXPrefix
[src]
impl Debug for REXPrefix
[src]
impl Display for REXPrefix
[src]
impl Eq for REXPrefix
[src]
impl Ord for REXPrefix
[src]
fn cmp(&self, other: &REXPrefix) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<REXPrefix> for REXPrefix
[src]
impl PartialOrd<REXPrefix> for REXPrefix
[src]
fn partial_cmp(&self, other: &REXPrefix) -> Option<Ordering>
[src]
fn lt(&self, other: &REXPrefix) -> bool
[src]
fn le(&self, other: &REXPrefix) -> bool
[src]
fn gt(&self, other: &REXPrefix) -> bool
[src]
fn ge(&self, other: &REXPrefix) -> bool
[src]
impl StructuralEq for REXPrefix
[src]
impl StructuralPartialEq for REXPrefix
[src]
Auto Trait Implementations
impl RefUnwindSafe for REXPrefix
impl Send for REXPrefix
impl Sync for REXPrefix
impl Unpin for REXPrefix
impl UnwindSafe for REXPrefix
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,