[][src]Struct abxml::visitor::Executor

pub struct Executor;

Methods to decode a binary resource.arsc file or a binary xml file

Methods

impl Executor[src]

pub fn arsc<'a, V: ChunkVisitor<'a>>(
    buffer: &'a [u8],
    visitor: &mut V
) -> Result<(), Error>
[src]

Given a valid resources.arsc file contents, it will call to the proper methods on the given visitor.

pub fn xml<'a, V: ChunkVisitor<'a>>(
    cursor: Cursor<&'a [u8]>,
    visitor: &mut V
) -> Result<(), Error>
[src]

Given a valid binary XML file contents, it will call to the proper methods on the given visitor.

Trait Implementations

impl Clone for Executor[src]

impl Copy for Executor[src]

impl Debug for Executor[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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]