pub enum RiscVOperand {
Reg(RegId),
Imm(i64),
Mem(RiscVOpMem),
Invalid,
}Expand description
RISCV operand
Variants§
Trait Implementations§
Source§impl Clone for RiscVOperand
impl Clone for RiscVOperand
Source§fn clone(&self) -> RiscVOperand
fn clone(&self) -> RiscVOperand
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 RiscVOperand
impl Debug for RiscVOperand
Source§impl Default for RiscVOperand
impl Default for RiscVOperand
Source§impl From<&cs_riscv_op> for RiscVOperand
impl From<&cs_riscv_op> for RiscVOperand
Source§fn from(insn: &cs_riscv_op) -> RiscVOperand
fn from(insn: &cs_riscv_op) -> RiscVOperand
Converts to this type from the input type.
Source§impl From<RiscVOperand> for ArchOperand
Available on crate feature arch_riscv only.
impl From<RiscVOperand> for ArchOperand
Available on crate feature
arch_riscv only.Source§fn from(op: RiscVOperand) -> ArchOperand
fn from(op: RiscVOperand) -> ArchOperand
Converts to this type from the input type.
Source§impl PartialEq for RiscVOperand
impl PartialEq for RiscVOperand
impl Eq for RiscVOperand
impl StructuralPartialEq for RiscVOperand
Auto Trait Implementations§
impl Freeze for RiscVOperand
impl RefUnwindSafe for RiscVOperand
impl Send for RiscVOperand
impl Sync for RiscVOperand
impl Unpin for RiscVOperand
impl UnwindSafe for RiscVOperand
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