pub struct Aapt2Convert { /* private fields */ }
Expand description

Converts an apk between binary and proto formats.

Implementations

Initialize aapt2 convert and then specifies output path to convert

Format of the output. Accepted values are proto and binary. When not set, defaults to binary

Enables encoding sparse entries using a binary search tree. This decreases APK size at the cost of resource retrieval performance

Preserve raw attribute values in xml files when using the ‘binary’ output format

Enables verbose logging

Displays this help menu

Executes aapt2 convert with arguments

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.