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