[−][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 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]
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, 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>,