ArchOperand

Enum ArchOperand 

Source
pub enum ArchOperand {
Show 17 variants ArmOperand(ArmOperand), Arm64Operand(Arm64Operand), EvmOperand(EvmOperand), M680xOperand(M680xOperand), M68kOperand(M68kOperand), MipsOperand(MipsOperand), Mos65xxOperand(Mos65xxOperand), PpcOperand(PpcOperand), RiscVOperand(RiscVOperand), ShOperand(ShOperand), SparcOperand(SparcOperand), Tms320c64xOperand(Tms320c64xOperand), TriCoreOperand(TriCoreOperand), X86Operand(X86Operand), XcoreOperand(XcoreOperand), BpfOperand(BpfOperand), SysZOperand(SysZOperand),
}
Expand description

Architecture-independent enum of operands

Variants§

§

ArmOperand(ArmOperand)

§

Arm64Operand(Arm64Operand)

§

EvmOperand(EvmOperand)

§

M680xOperand(M680xOperand)

§

M68kOperand(M68kOperand)

§

MipsOperand(MipsOperand)

§

Mos65xxOperand(Mos65xxOperand)

§

PpcOperand(PpcOperand)

§

RiscVOperand(RiscVOperand)

§

ShOperand(ShOperand)

§

SparcOperand(SparcOperand)

§

Tms320c64xOperand(Tms320c64xOperand)

§

TriCoreOperand(TriCoreOperand)

§

X86Operand(X86Operand)

§

XcoreOperand(XcoreOperand)

§

BpfOperand(BpfOperand)

§

SysZOperand(SysZOperand)

Trait Implementations§

Source§

impl Clone for ArchOperand

Source§

fn clone(&self) -> ArchOperand

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ArchOperand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Arm64Operand> for ArchOperand

Available on crate feature arch_arm64 only.
Source§

fn from(op: Arm64Operand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<ArmOperand> for ArchOperand

Available on crate feature arch_arm only.
Source§

fn from(op: ArmOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<BpfOperand> for ArchOperand

Available on crate feature arch_bpf only.
Source§

fn from(op: BpfOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<EvmOperand> for ArchOperand

Available on crate feature arch_evm only.
Source§

fn from(op: EvmOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<M680xOperand> for ArchOperand

Available on crate feature arch_m680x only.
Source§

fn from(op: M680xOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<M68kOperand> for ArchOperand

Available on crate feature arch_m68k only.
Source§

fn from(op: M68kOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<MipsOperand> for ArchOperand

Available on crate feature arch_mips only.
Source§

fn from(op: MipsOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<Mos65xxOperand> for ArchOperand

Available on crate feature arch_mos65xx only.
Source§

fn from(op: Mos65xxOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<PpcOperand> for ArchOperand

Available on crate feature arch_powerpc only.
Source§

fn from(op: PpcOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<RiscVOperand> for ArchOperand

Available on crate feature arch_riscv only.
Source§

fn from(op: RiscVOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<ShOperand> for ArchOperand

Available on crate feature arch_sh only.
Source§

fn from(op: ShOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<SparcOperand> for ArchOperand

Available on crate feature arch_sparc only.
Source§

fn from(op: SparcOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<SysZOperand> for ArchOperand

Available on crate feature arch_sysz only.
Source§

fn from(op: SysZOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<Tms320c64xOperand> for ArchOperand

Available on crate feature arch_tms320c64x only.
Source§

fn from(op: Tms320c64xOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<TriCoreOperand> for ArchOperand

Available on crate feature arch_tricore only.
Source§

fn from(op: TriCoreOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<X86Operand> for ArchOperand

Available on crate feature arch_x86 only.
Source§

fn from(op: X86Operand) -> ArchOperand

Converts to this type from the input type.
Source§

impl From<XcoreOperand> for ArchOperand

Available on crate feature arch_xcore only.
Source§

fn from(op: XcoreOperand) -> ArchOperand

Converts to this type from the input type.
Source§

impl PartialEq for ArchOperand

Source§

fn eq(&self, other: &ArchOperand) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ArchOperand

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.