pub enum AndroidTarget {
Armv7,
Aarch64,
I686,
X8664,
}Expand description
Android Target.
More details: https://doc.rust-lang.org/nightly/rustc/platform-support.html
Variants§
Implementations§
Source§impl AndroidTarget
impl AndroidTarget
Sourcepub fn android_abi(self) -> &'static str
pub fn android_abi(self) -> &'static str
Identifier used in the NDK to refer to the ABI.
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.
Sourcepub fn from_android_abi(abi: &str) -> Result<Self>
pub fn from_android_abi(abi: &str) -> Result<Self>
Returns AndroidTarget for abi.
Trait Implementations§
Source§impl Clone for AndroidTarget
impl Clone for AndroidTarget
Source§fn clone(&self) -> AndroidTarget
fn clone(&self) -> AndroidTarget
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 AndroidTarget
impl Debug for AndroidTarget
Source§impl Default for AndroidTarget
impl Default for AndroidTarget
Source§impl<'de> Deserialize<'de> for AndroidTarget
impl<'de> Deserialize<'de> for AndroidTarget
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 FromStr for AndroidTarget
impl FromStr for AndroidTarget
Source§impl IntoRustTriple for AndroidTarget
impl IntoRustTriple for AndroidTarget
Source§fn rust_triple(&self) -> &'static str
fn rust_triple(&self) -> &'static str
Returns the triple used by the rust build tools.
Source§impl PartialEq for AndroidTarget
impl PartialEq for AndroidTarget
Source§impl Serialize for AndroidTarget
impl Serialize for AndroidTarget
impl Copy for AndroidTarget
impl Eq for AndroidTarget
impl StructuralPartialEq for AndroidTarget
Auto Trait Implementations§
impl Freeze for AndroidTarget
impl RefUnwindSafe for AndroidTarget
impl Send for AndroidTarget
impl Sync for AndroidTarget
impl Unpin for AndroidTarget
impl UnwindSafe for AndroidTarget
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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