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 struct Aapt2Dump 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
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