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 duplicate 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 From<&cs_sparc_op> for SparcOperand
impl From<&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
Available on crate feature arch_sparc only.
impl From<SparcOperand> for ArchOperand
Available on crate feature
arch_sparc only.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
impl Eq for SparcOperand
impl StructuralPartialEq for SparcOperand
Auto Trait Implementations§
impl Freeze for SparcOperand
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