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 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 PpcOperand
impl Debug for PpcOperand
Source§impl Default for PpcOperand
impl Default for PpcOperand
Source§impl From<&cs_ppc_op> for PpcOperand
impl From<&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
Available on crate feature arch_powerpc only.
impl From<PpcOperand> for ArchOperand
Available on crate feature
arch_powerpc only.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
impl Eq for PpcOperand
impl StructuralPartialEq for PpcOperand
Auto Trait Implementations§
impl Freeze for PpcOperand
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