pub enum TargetArg {
Show 29 variants
Web,
Android,
Ios,
Ipad,
Macos,
Windows,
Linux,
Tui,
Cli,
Wearos,
Watchos,
HarmonyWearable,
Vela,
VivoWatch,
OppoWatch,
Garmin,
Zeppos,
Wearable,
Harmony,
Wechat,
Alipay,
Douyin,
Baidu,
Qq,
Kuaishou,
HarmonyAtomic,
Quickapp,
Native,
All,
}Expand description
CLI target selector covering all 27 supported 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).
Tui
Interactive PTY Terminal UI target.
Cli
Non-interactive static/pipe CLI terminal target.
Wearos
Google/Samsung Wear OS smartwatch target.
Watchos
Apple watchOS smartwatch target.
HarmonyWearable
Huawei HarmonyOS Watch wearable target.
Vela
Xiaomi HyperOS / Vela Watch wearable target.
VivoWatch
vivo BlueOS Watch smartwatch target (blueos / vivo).
OppoWatch
OPPO ColorOS Watch / Wear OS dual-engine smartwatch target.
Garmin
Garmin Connect IQ smartwatch target.
Zeppos
Amazfit Zepp OS smartwatch target.
Wearable
Generic smart wearable target building all supported smartwatch ecosystems.
Harmony
HarmonyOS / OpenHarmony multi-form-factor native target (phone/tablet/pc/foldable/tv/car).
WeChat Mini-Program target (wx).
Alipay
Alipay Mini-Program target (my).
Douyin
Douyin / ByteDance Mini-Program target (tt).
Baidu
Baidu Smart Mini-Program target (swan).
QQ Mini-Program target (qq).
Kuaishou
Kuaishou Mini-Program target (ks).
HarmonyAtomic
HarmonyOS Atomic Service target (atomic).
Quickapp
QuickApp Alliance / Huawei QuickApp target.
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>,
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§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
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
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more