pub enum BuildTarget {
Release,
Debug,
ReleaseStudio,
DebugStudio,
Profiler,
IosSim {
org: String,
app: String,
},
IosDevice {
org: String,
app: String,
},
Android,
WebAssembly,
}Variants§
Implementations§
source§impl BuildTarget
impl BuildTarget
pub fn runs_in_studio(&self) -> bool
pub const RELEASE_STUDIO: u64 = 0u64
pub const DEBUG_STUDIO: u64 = 1u64
pub const RELEASE: u64 = 2u64
pub const DEBUG: u64 = 3u64
pub const PROFILER: u64 = 4u64
pub const IOS_SIM: u64 = 5u64
pub const IOS_DEVICE: u64 = 6u64
pub const ANDROID: u64 = 7u64
pub const WEBASSEMBLY: u64 = 8u64
pub fn len() -> u64
pub fn name(idx: u64) -> &'static str
pub fn id(&self) -> u64
Trait Implementations§
source§impl Clone for BuildTarget
impl Clone for BuildTarget
source§fn clone(&self) -> BuildTarget
fn clone(&self) -> BuildTarget
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 BuildTarget
impl Debug for BuildTarget
source§impl Hash for BuildTarget
impl Hash for BuildTarget
source§impl Ord for BuildTarget
impl Ord for BuildTarget
source§fn cmp(&self, other: &BuildTarget) -> Ordering
fn cmp(&self, other: &BuildTarget) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BuildTarget> for BuildTarget
impl PartialEq<BuildTarget> for BuildTarget
source§fn eq(&self, other: &BuildTarget) -> bool
fn eq(&self, other: &BuildTarget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BuildTarget> for BuildTarget
impl PartialOrd<BuildTarget> for BuildTarget
source§fn partial_cmp(&self, other: &BuildTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &BuildTarget) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for BuildTarget
impl StructuralEq for BuildTarget
impl StructuralPartialEq for BuildTarget
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§
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