pub struct OwnedInsn<'a> { /* private fields */ }
Expand description

A single disassembled CPU instruction that lives on the Rust heap.

Detail

To learn how to get more instruction details, see InsnDetail.

Methods from Deref<Target = Insn<'a>>

The mnemonic for the instruction

The operand string associated with the instruction

Access instruction id

Size of instruction (in bytes)

Instruction address

Byte-level representation of the instruction

Trait Implementations

Formats the value using the given formatter. Read more

SAFETY:

  1. OwnedInsn and Insn must be #repr(transparent) of cs_insn
  2. all Insn methods must be safe to perform for an OwnedInsn

The resulting type after dereferencing.

Dereferences the value.

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.