Enum capstone::arch::sparc::SparcOperand
source · pub enum SparcOperand {
Reg(RegId),
Imm(i64),
Mem(SparcOpMem),
Invalid,
}
Expand description
SPARC operand
Variants§
Trait Implementations§
source§impl Clone for SparcOperand
impl Clone for SparcOperand
source§fn clone(&self) -> SparcOperand
fn clone(&self) -> SparcOperand
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 SparcOperand
impl Debug for SparcOperand
source§impl Default for SparcOperand
impl Default for SparcOperand
source§impl<'a> From<&'a cs_sparc_op> for SparcOperand
impl<'a> From<&'a cs_sparc_op> for SparcOperand
source§fn from(insn: &cs_sparc_op) -> SparcOperand
fn from(insn: &cs_sparc_op) -> SparcOperand
Converts to this type from the input type.
source§impl From<SparcOperand> for ArchOperand
impl From<SparcOperand> for ArchOperand
source§fn from(op: SparcOperand) -> ArchOperand
fn from(op: SparcOperand) -> ArchOperand
Converts to this type from the input type.
source§impl PartialEq for SparcOperand
impl PartialEq for SparcOperand
source§fn eq(&self, other: &SparcOperand) -> bool
fn eq(&self, other: &SparcOperand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SparcOperand
impl StructuralPartialEq for SparcOperand
Auto Trait Implementations§
impl RefUnwindSafe for SparcOperand
impl Send for SparcOperand
impl Sync for SparcOperand
impl Unpin for SparcOperand
impl UnwindSafe for SparcOperand
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