[][src]Struct dex::code::CodeItem

pub struct CodeItem { /* fields omitted */ }

Code and Debug Info of a method.

Methods

impl CodeItem[src]

pub fn insns(&self) -> &Vec<ushort>[src]

Code instructions for this method.

pub fn tries(&self) -> &Tries[src]

Try, Exception handling information of this method.

impl CodeItem[src]

pub fn registers_size(&self) -> ushort[src]

The number of registers the method must use.

pub fn ins_size(&self) -> ushort[src]

Number of words for incoming arguments to this method.

pub fn outs_size(&self) -> ushort[src]

Number of words for outgoing arguments required for invocation.

impl CodeItem[src]

pub fn debug_info_item(&self) -> Option<&DebugInfoItem>[src]

Line number and source file information.

Trait Implementations

impl Debug for CodeItem[src]

impl<'a, '_, S> TryFromCtx<'a, &'_ Dex<S>, [u8]> for CodeItem where
    S: AsRef<[u8]>, 
[src]

type Error = Error

type Size = usize

Auto Trait Implementations

impl !Send for CodeItem

impl !Sync for CodeItem

impl Unpin for CodeItem

impl UnwindSafe for CodeItem

impl !RefUnwindSafe for CodeItem

Blanket Implementations

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

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

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

type Error = !

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.

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

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

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