pub enum StripConfig {
Default,
Strip,
Split,
}Expand description
The options for how to treat debug symbols that are present in any .so
files that are added to the APK.
Using strip
or split-debuginfo
in your cargo manifest(s) may cause debug symbols to not be present in a
.so, which would cause these options to do nothing.
Variants§
Default
Does not treat debug symbols specially
Strip
Removes debug symbols from the library before copying it into the APK
Split
Splits the library into into an ELF (.so) and DWARF (.dwarf). Only the
.so is copied into the APK
Trait Implementations§
Source§impl Clone for StripConfig
impl Clone for StripConfig
Source§fn clone(&self) -> StripConfig
fn clone(&self) -> StripConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StripConfig
impl Debug for StripConfig
Source§impl Default for StripConfig
impl Default for StripConfig
Source§impl<'de> Deserialize<'de> for StripConfig
impl<'de> Deserialize<'de> for StripConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StripConfig
impl PartialEq for StripConfig
impl Copy for StripConfig
impl Eq for StripConfig
impl StructuralPartialEq for StripConfig
Auto Trait Implementations§
impl Freeze for StripConfig
impl RefUnwindSafe for StripConfig
impl Send for StripConfig
impl Sync for StripConfig
impl Unpin for StripConfig
impl UnwindSafe for StripConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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