#[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
impl Copy for cs_op_type
impl Eq for cs_op_type
impl StructuralPartialEq for cs_op_type
Auto Trait Implementations§
impl Freeze for cs_op_type
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