pub struct Aapt2Dump { /* private fields */ }
Expand description
§Dump
Dump is used for printing information about the APK you generated using the link command. For example, the following command prints content from the resource table of the specified APK:
`aapt2 dump resources output.apk`
§Dump syntax
The general syntax for using dump is as follows:
`aapt2 dump sub-command filename.apk [options]`
Implementations§
Source§impl Aapt2Dump
impl Aapt2Dump
Sourcepub fn new(subcommand: SubCommand, filename_apk: &Path) -> Self
pub fn new(subcommand: SubCommand, filename_apk: &Path) -> Self
Initialize aapt2 dump then specifies subcommand and apk file
Sourcepub fn no_values(&mut self, no_values: bool) -> &mut Self
pub fn no_values(&mut self, no_values: bool) -> &mut Self
Suppresses the output of values when displaying resource
Sourcepub fn dumped_file(&mut self, dumped_file: &Path) -> &mut Self
pub fn dumped_file(&mut self, dumped_file: &Path) -> &mut Self
Specifies a file as an argument to be dumped from the APK
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Aapt2Dump
impl RefUnwindSafe for Aapt2Dump
impl Send for Aapt2Dump
impl Sync for Aapt2Dump
impl Unpin for Aapt2Dump
impl UnwindSafe for Aapt2Dump
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more