pub enum TargetArg {
Web,
Android,
Ios,
Ipad,
Macos,
Windows,
Linux,
Native,
All,
}Expand description
CLI target selector covering all seven euv platforms plus native and all.
Variants§
Web
Browser WebAssembly target (wasm32-unknown-unknown).
Android
Android native NDK target (aarch64-linux-android).
Ios
iOS native UIKit/Metal target (aarch64-apple-ios).
Ipad
iPadOS native UIKit/Metal target (aarch64-apple-ios).
Macos
macOS native AppKit/Metal target (aarch64-apple-darwin / x86_64-apple-darwin).
Windows
Windows native Win32/D3D12 target (x86_64-pc-windows-msvc / aarch64-pc-windows-msvc).
Linux
Linux native Wayland/X11/Vulkan target (x86_64-unknown-linux-gnu / aarch64-unknown-linux-gnu).
Native
Current host native target.
All
Every supported euv platform.
Trait Implementations§
impl Copy for TargetArg
Source§impl<'de> Deserialize<'de> for TargetArg
impl<'de> Deserialize<'de> for TargetArg
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
impl Eq for TargetArg
impl StructuralPartialEq for TargetArg
Auto Trait Implementations§
impl Forget for TargetArg
impl Freeze for TargetArg
impl Move for TargetArg
impl RefUnwindSafe for TargetArg
impl Send for TargetArg
impl Sync for TargetArg
impl Unpin for TargetArg
impl UnsafeUnpin for TargetArg
impl UnwindSafe for TargetArg
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.