[][src]Struct abxml::apk::Apk

pub struct Apk {
    handler: ZipArchive<File>,
    decoder: BufferedDecoder,
}

Fields

handler: ZipArchive<File>decoder: BufferedDecoder

Methods

impl Apk[src]

pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self, Error>[src]

pub fn export<P: AsRef<Path>>(
    &mut self,
    output_path: P,
    force: bool
) -> Result<(), Error>
[src]

It exports to target output_path the contents of the APK, transcoding the binary XML files found on it.

fn write_file<B: AsRef<Path>, R: AsRef<Path>>(
    base_path: B,
    relative: R,
    content: &[u8]
) -> Result<(), Error>
[src]

Trait Implementations

impl Debug for Apk[src]

Auto Trait Implementations

impl Unpin for Apk

impl Sync for Apk

impl Send for Apk

impl UnwindSafe for Apk

impl RefUnwindSafe for Apk

Blanket Implementations

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.

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

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

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