Enum crossbundle_tools::types::AndroidTarget
source · [−]pub enum AndroidTarget {
Armv7,
Aarch64,
I686,
X8664,
}
Expand description
Android Target.
More details: https://doc.rust-lang.org/nightly/rustc/platform-support.html
Variants
Armv7
Aarch64
I686
X8664
Implementations
sourceimpl 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
sourceimpl Clone for AndroidTarget
impl Clone for AndroidTarget
sourcefn clone(&self) -> AndroidTarget
fn clone(&self) -> AndroidTarget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AndroidTarget
impl Debug for AndroidTarget
sourceimpl Default for AndroidTarget
impl Default for AndroidTarget
sourceimpl<'de> Deserialize<'de> for AndroidTarget
impl<'de> Deserialize<'de> for AndroidTarget
sourcefn 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
sourceimpl FromStr for AndroidTarget
impl FromStr for AndroidTarget
sourceimpl IntoRustTriple for AndroidTarget
impl IntoRustTriple for AndroidTarget
sourcefn rust_triple(&self) -> &'static str
fn rust_triple(&self) -> &'static str
Returns the triple used by the rust build tools.
sourceimpl PartialEq<AndroidTarget> for AndroidTarget
impl PartialEq<AndroidTarget> for AndroidTarget
sourceimpl Serialize for AndroidTarget
impl Serialize for AndroidTarget
impl Copy for AndroidTarget
impl Eq for AndroidTarget
impl StructuralEq for AndroidTarget
impl StructuralPartialEq for AndroidTarget
Auto Trait Implementations
impl RefUnwindSafe for AndroidTarget
impl Send for AndroidTarget
impl Sync for AndroidTarget
impl Unpin for AndroidTarget
impl UnwindSafe for AndroidTarget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.