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