pub struct OperandX64 {
pub imm: i32,
/* private fields */
}Fields§
§imm: i32Implementations§
Source§impl OperandX64
impl OperandX64
pub fn operand_x_64_register_x_64(reg: RegisterX64) -> Self
Source§impl OperandX64
impl OperandX64
pub fn operand_x_64_i32(imm: i32) -> Self
Source§impl OperandX64
impl OperandX64
pub fn operand_x_64_size_x_64_register_x_64_u8_register_x_64_i32( size: SizeX64, index: RegisterX64, scale: u8, base: RegisterX64, disp: i32, ) -> Self
Source§impl OperandX64
impl OperandX64
pub fn operand_x_64_operator_index(&self, addr: OperandX64) -> OperandX64
Source§impl OperandX64
impl OperandX64
pub const fn reg(reg: RegisterX64) -> Self
pub const fn imm(imm: i32) -> Self
pub const fn mem( size: SizeX64, index: RegisterX64, scale: u8, base: RegisterX64, disp: i32, ) -> Self
pub const fn operator_bracket(&self, address: OperandX64) -> OperandX64
Trait Implementations§
Source§impl Add<OperandX64> for RegisterX64
impl Add<OperandX64> for RegisterX64
Source§type Output = OperandX64
type Output = OperandX64
The resulting type after applying the
+ operator.Source§fn add(self, op: OperandX64) -> OperandX64
fn add(self, op: OperandX64) -> OperandX64
Performs the
+ operation. Read moreSource§impl Add<RegisterX64> for OperandX64
impl Add<RegisterX64> for OperandX64
Source§type Output = OperandX64
type Output = OperandX64
The resulting type after applying the
+ operator.Source§fn add(self, base: RegisterX64) -> OperandX64
fn add(self, base: RegisterX64) -> OperandX64
Performs the
+ operation. Read moreSource§impl Add<i32> for OperandX64
impl Add<i32> for OperandX64
Source§type Output = OperandX64
type Output = OperandX64
The resulting type after applying the
+ operator.Source§impl Clone for OperandX64
impl Clone for OperandX64
Source§fn clone(&self) -> OperandX64
fn clone(&self) -> OperandX64
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperandX64
Source§impl Debug for OperandX64
impl Debug for OperandX64
impl Eq for OperandX64
Source§impl From<RegisterX64> for OperandX64
C++ implicit OperandX64(RegisterX64 reg) constructor.
impl From<RegisterX64> for OperandX64
C++ implicit OperandX64(RegisterX64 reg) constructor.
Source§fn from(reg: RegisterX64) -> Self
fn from(reg: RegisterX64) -> Self
Converts to this type from the input type.
Source§impl From<i32> for OperandX64
C++ implicit OperandX64(int32_t imm) constructor.
impl From<i32> for OperandX64
C++ implicit OperandX64(int32_t imm) constructor.
Source§impl Hash for OperandX64
impl Hash for OperandX64
Source§impl PartialEq for OperandX64
impl PartialEq for OperandX64
Source§fn eq(&self, other: &OperandX64) -> bool
fn eq(&self, other: &OperandX64) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperandX64
Auto Trait Implementations§
impl Freeze for OperandX64
impl RefUnwindSafe for OperandX64
impl Send for OperandX64
impl Sync for OperandX64
impl Unpin for OperandX64
impl UnsafeUnpin for OperandX64
impl UnwindSafe for OperandX64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more