Enum crossbundle_tools::types::BuildTarget
source · [−]pub enum BuildTarget {
Android(AndroidTarget),
Apple(AppleTarget),
}Variants
Android(AndroidTarget)
Apple(AppleTarget)
Trait Implementations
sourceimpl Clone for BuildTarget
impl Clone for BuildTarget
sourcefn clone(&self) -> BuildTarget
fn clone(&self) -> BuildTarget
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 BuildTarget
impl Debug for BuildTarget
sourceimpl From<AndroidTarget> for BuildTarget
impl From<AndroidTarget> for BuildTarget
sourcefn from(target: AndroidTarget) -> Self
fn from(target: AndroidTarget) -> Self
Performs the conversion.
sourceimpl From<AppleTarget> for BuildTarget
impl From<AppleTarget> for BuildTarget
sourcefn from(target: AppleTarget) -> Self
fn from(target: AppleTarget) -> Self
Performs the conversion.
sourceimpl IntoRustTriple for BuildTarget
impl IntoRustTriple for BuildTarget
sourcefn rust_triple(&self) -> &'static str
fn rust_triple(&self) -> &'static str
Returns the triple used by the rust build tools
Auto Trait Implementations
impl RefUnwindSafe for BuildTarget
impl Send for BuildTarget
impl Sync for BuildTarget
impl Unpin for BuildTarget
impl UnwindSafe for BuildTarget
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<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