pub enum AndroidBuildTarget {
ArmV7a,
Arm64V8a,
X86,
X86_64,
}Expand description
Build targets supported by NDK
Variants§
Implementations§
Source§impl AndroidBuildTarget
impl AndroidBuildTarget
Sourcepub fn android_abi(self) -> &'static str
pub fn android_abi(self) -> &'static str
Identifier used in the NDK to refer to the ABI
Sourcepub fn rust_triple(self) -> &'static str
pub fn rust_triple(self) -> &'static str
Returns the triple used by the rust build tools
pub fn ndk_llvm_triple(self) -> &'static str
Sourcepub fn ndk_triple(self) -> &'static str
pub fn ndk_triple(self) -> &'static str
Returns the triple used by the non-LLVM parts of the NDK
Trait Implementations§
Source§impl Clone for AndroidBuildTarget
impl Clone for AndroidBuildTarget
Source§fn clone(&self) -> AndroidBuildTarget
fn clone(&self) -> AndroidBuildTarget
Returns a copy 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 AndroidBuildTarget
impl Debug for AndroidBuildTarget
Source§impl<'de> Deserialize<'de> for AndroidBuildTarget
impl<'de> Deserialize<'de> for AndroidBuildTarget
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
impl Copy for AndroidBuildTarget
Auto Trait Implementations§
impl Freeze for AndroidBuildTarget
impl RefUnwindSafe for AndroidBuildTarget
impl Send for AndroidBuildTarget
impl Sync for AndroidBuildTarget
impl Unpin for AndroidBuildTarget
impl UnwindSafe for AndroidBuildTarget
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