Enum capstone_sys::cs_op_type
source · #[repr(u32)]pub enum cs_op_type {
CS_OP_INVALID = 0,
CS_OP_REG = 1,
CS_OP_IMM = 2,
CS_OP_MEM = 3,
CS_OP_FP = 4,
}
Expand description
Common instruction operand types - to be consistent across all architectures.
Variants§
CS_OP_INVALID = 0
< uninitialized/invalid operand.
CS_OP_REG = 1
< Register operand.
CS_OP_IMM = 2
< Immediate operand.
CS_OP_MEM = 3
< Memory operand.
CS_OP_FP = 4
< Floating-Point operand.
Trait Implementations§
source§impl Clone for cs_op_type
impl Clone for cs_op_type
source§fn clone(&self) -> cs_op_type
fn clone(&self) -> cs_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 cs_op_type
impl Debug for cs_op_type
source§impl Hash for cs_op_type
impl Hash for cs_op_type
source§impl PartialEq for cs_op_type
impl PartialEq for cs_op_type
source§fn eq(&self, other: &cs_op_type) -> bool
fn eq(&self, other: &cs_op_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cs_op_type
impl Eq for cs_op_type
impl StructuralPartialEq for cs_op_type
Auto Trait Implementations§
impl RefUnwindSafe for cs_op_type
impl Send for cs_op_type
impl Sync for cs_op_type
impl Unpin for cs_op_type
impl UnwindSafe for cs_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