[−][src]Enum x64_asm::Opcode
Variants
Move r8 to r/m8
Move r64 to r/m64
Move imm32 to r/m64
Push r/m64
Fields of PUSHRM64
rm64: Operand
Push r64,
Fields of PUSHR64
Push imm32
Fields of PUSHIMM32
imm: Immediate
Implementations
impl Opcode
[src]
pub fn to_bytes(&self) -> Vec<u8>
[src]
pub fn encoding(&self) -> Encoding
[src]
pub fn rex_prefix(&self) -> Option<REXPrefix>
[src]
calculating REX-Prefix byte
pub fn modrm(&self) -> Option<ModRM>
[src]
calculating ModR/M byte
pub fn get_displacement(&self) -> Option<Displacement>
[src]
get displacement if memory operand hasn't found, it returns Option::None,
pub fn get_immediate(&self) -> Option<Immediate>
[src]
pub fn sib_bite(&self) -> Option<SIBByte>
[src]
pub fn to_intel_string(&self) -> String
[src]
to Intel syntax.
pub fn to_at_string(&self) -> String
[src]
to AT&T syntax.
Trait Implementations
impl Clone for Opcode
[src]
impl Debug for Opcode
[src]
impl Eq for Opcode
[src]
impl Ord for Opcode
[src]
fn cmp(&self, other: &Opcode) -> 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<Opcode> for Opcode
[src]
impl PartialOrd<Opcode> for Opcode
[src]
fn partial_cmp(&self, other: &Opcode) -> Option<Ordering>
[src]
fn lt(&self, other: &Opcode) -> bool
[src]
fn le(&self, other: &Opcode) -> bool
[src]
fn gt(&self, other: &Opcode) -> bool
[src]
fn ge(&self, other: &Opcode) -> bool
[src]
impl StructuralEq for Opcode
[src]
impl StructuralPartialEq for Opcode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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, 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>,