Enum capstone::arch::tms320c64x::Tms320c64xOperand
source · pub enum Tms320c64xOperand {
Reg(RegId),
Imm(i32),
Mem(Tms320c64xOpMem),
RegPair(RegId, RegId),
Invalid,
}
Expand description
TMS320C64X operand
Variants§
Reg(RegId)
Register
Imm(i32)
Immediate
Mem(Tms320c64xOpMem)
Memory
RegPair(RegId, RegId)
Pair of registers
Invalid
Invalid
Trait Implementations§
source§impl Clone for Tms320c64xOperand
impl Clone for Tms320c64xOperand
source§fn clone(&self) -> Tms320c64xOperand
fn clone(&self) -> Tms320c64xOperand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Tms320c64xOperand
impl Debug for Tms320c64xOperand
source§impl Default for Tms320c64xOperand
impl Default for Tms320c64xOperand
source§impl<'a> From<&'a cs_tms320c64x_op> for Tms320c64xOperand
impl<'a> From<&'a cs_tms320c64x_op> for Tms320c64xOperand
source§fn from(insn: &cs_tms320c64x_op) -> Tms320c64xOperand
fn from(insn: &cs_tms320c64x_op) -> Tms320c64xOperand
Converts to this type from the input type.
source§impl From<Tms320c64xOperand> for ArchOperand
impl From<Tms320c64xOperand> for ArchOperand
source§fn from(op: Tms320c64xOperand) -> ArchOperand
fn from(op: Tms320c64xOperand) -> ArchOperand
Converts to this type from the input type.
source§impl PartialEq for Tms320c64xOperand
impl PartialEq for Tms320c64xOperand
source§fn eq(&self, other: &Tms320c64xOperand) -> bool
fn eq(&self, other: &Tms320c64xOperand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Tms320c64xOperand
impl StructuralPartialEq for Tms320c64xOperand
Auto Trait Implementations§
impl RefUnwindSafe for Tms320c64xOperand
impl Send for Tms320c64xOperand
impl Sync for Tms320c64xOperand
impl Unpin for Tms320c64xOperand
impl UnwindSafe for Tms320c64xOperand
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