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