[][src]Struct ep_capstone::Insn

#[repr(C)]pub struct Insn<'a> { /* fields omitted */ }

Information about a disassembled instruction.

Implementations

impl<'a> Insn<'a>[src]

pub fn address(&self) -> u64[src]

Returns trhe address of this instruction.

pub fn size(&self) -> usize[src]

Returns the size of this instruction in bytes.

pub fn bytes(&self) -> &[u8][src]

Returns the machine bytes of this instruction. The returned slice will have the same size as the return value of Insn::size

pub fn mnemonic(&self) -> &str[src]

Returns the instruction mnemonic.

pub fn operands(&self) -> &str[src]

Returns the instruction operands as a string.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Insn<'a>

impl<'a> !Send for Insn<'a>

impl<'a> !Sync for Insn<'a>

impl<'a> Unpin for Insn<'a>

impl<'a> UnwindSafe for Insn<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.