[−][src]Struct ep_capstone::Insn
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,