pub enum DesktopTargetKind {
Macos,
Windows,
Linux,
Tui,
Cli,
}Expand description
Desktop and terminal build targets handled by cli/src/builder/desktop/.
Variants§
Macos
macOS native AppKit/Metal client (euv.icns, .tar.gz).
Windows
Windows native Win32/D3D12 client (euv.ico, .zip).
Linux
Linux native Wayland/X11/Vulkan client (euv.png, .tar.gz).
Tui
Interactive PTY Terminal UI client (.tar.gz).
Cli
Static/pipe CLI terminal binary (.tar.gz).
Implementations§
Source§impl DesktopTargetKind
Target metadata and CI release naming helpers for DesktopTargetKind.
impl DesktopTargetKind
Target metadata and CI release naming helpers for DesktopTargetKind.
Sourcepub fn current_host() -> Self
pub fn current_host() -> Self
Returns the desktop target matching the current host operating system.
§Returns
Self-Macos,Windows, orLinuxbased oncfg!(target_os).
Sourcepub fn from_target_arg(target: TargetArg) -> Option<Self>
pub fn from_target_arg(target: TargetArg) -> Option<Self>
Sourcepub fn platform_label(&self) -> &'static str
pub fn platform_label(&self) -> &'static str
Sourcepub fn default_arch(&self) -> &'static str
pub fn default_arch(&self) -> &'static str
Sourcepub fn exe_suffix(&self) -> &'static str
pub fn exe_suffix(&self) -> &'static str
Sourcepub fn default_archive_ext(&self) -> &'static str
pub fn default_archive_ext(&self) -> &'static str
Sourcepub fn default_out_dir(&self) -> PathBuf
pub fn default_out_dir(&self) -> PathBuf
Sourcepub fn default_release_asset_name(&self, version: &str) -> String
pub fn default_release_asset_name(&self, version: &str) -> String
Trait Implementations§
Source§impl Clone for DesktopTargetKind
impl Clone for DesktopTargetKind
impl Copy for DesktopTargetKind
Source§impl Debug for DesktopTargetKind
impl Debug for DesktopTargetKind
Source§impl<'de> Deserialize<'de> for DesktopTargetKind
impl<'de> Deserialize<'de> for DesktopTargetKind
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 DesktopTargetKind
Source§impl PartialEq for DesktopTargetKind
impl PartialEq for DesktopTargetKind
Source§impl Serialize for DesktopTargetKind
impl Serialize for DesktopTargetKind
impl StructuralPartialEq for DesktopTargetKind
Auto Trait Implementations§
impl Forget for DesktopTargetKind
impl Freeze for DesktopTargetKind
impl Move for DesktopTargetKind
impl RefUnwindSafe for DesktopTargetKind
impl Send for DesktopTargetKind
impl Sync for DesktopTargetKind
impl Unpin for DesktopTargetKind
impl UnsafeUnpin for DesktopTargetKind
impl UnwindSafe for DesktopTargetKind
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
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.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> ⓘ
Converts
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> ⓘ
Converts
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