Enum crossbundle_tools::types::AndroidTarget
source · [−]pub enum AndroidTarget {
Armv7LinuxAndroideabi,
Aarch64LinuxAndroid,
I686LinuxAndroid,
X8664LinuxAndroid,
}Variants
Armv7LinuxAndroideabi
Aarch64LinuxAndroid
I686LinuxAndroid
X8664LinuxAndroid
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 From<AndroidTarget> for BuildTarget
impl From<AndroidTarget> for BuildTarget
sourcefn from(target: AndroidTarget) -> Self
fn from(target: AndroidTarget) -> Self
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more