Enum capstone_sys::sparc_op_type
source · #[repr(u32)]pub enum sparc_op_type {
SPARC_OP_INVALID = 0,
SPARC_OP_REG = 1,
SPARC_OP_IMM = 2,
SPARC_OP_MEM = 3,
}
Expand description
Operand type for instruction’s operands
Variants§
SPARC_OP_INVALID = 0
< = CS_OP_INVALID (Uninitialized).
SPARC_OP_REG = 1
< = CS_OP_REG (Register operand).
SPARC_OP_IMM = 2
< = CS_OP_IMM (Immediate operand).
SPARC_OP_MEM = 3
< = CS_OP_MEM (Memory operand).
Trait Implementations§
source§impl Clone for sparc_op_type
impl Clone for sparc_op_type
source§fn clone(&self) -> sparc_op_type
fn clone(&self) -> sparc_op_type
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 sparc_op_type
impl Debug for sparc_op_type
source§impl Hash for sparc_op_type
impl Hash for sparc_op_type
source§impl PartialEq for sparc_op_type
impl PartialEq for sparc_op_type
source§fn eq(&self, other: &sparc_op_type) -> bool
fn eq(&self, other: &sparc_op_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sparc_op_type
impl Eq for sparc_op_type
impl StructuralPartialEq for sparc_op_type
Auto Trait Implementations§
impl RefUnwindSafe for sparc_op_type
impl Send for sparc_op_type
impl Sync for sparc_op_type
impl Unpin for sparc_op_type
impl UnwindSafe for sparc_op_type
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