pub enum NativeRuntimeTarget {
MacosArm64,
MacosX64,
WindowsArm64,
WindowsX64,
LinuxArm64,
LinuxX64,
}Variants§
Implementations§
Source§impl NativeRuntimeTarget
impl NativeRuntimeTarget
pub const fn as_str(self) -> &'static str
pub const fn archive_format(self) -> NativeRuntimeArchiveFormat
pub fn archive_name(self) -> String
Trait Implementations§
Source§impl Clone for NativeRuntimeTarget
impl Clone for NativeRuntimeTarget
impl Copy for NativeRuntimeTarget
Source§impl Debug for NativeRuntimeTarget
impl Debug for NativeRuntimeTarget
Source§impl<'de> Deserialize<'de> for NativeRuntimeTarget
impl<'de> Deserialize<'de> for NativeRuntimeTarget
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 NativeRuntimeTarget
Source§impl Ord for NativeRuntimeTarget
impl Ord for NativeRuntimeTarget
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for NativeRuntimeTarget
impl PartialEq for NativeRuntimeTarget
Source§impl PartialOrd for NativeRuntimeTarget
impl PartialOrd for NativeRuntimeTarget
Source§impl Serialize for NativeRuntimeTarget
impl Serialize for NativeRuntimeTarget
impl StructuralPartialEq for NativeRuntimeTarget
Auto Trait Implementations§
impl Freeze for NativeRuntimeTarget
impl RefUnwindSafe for NativeRuntimeTarget
impl Send for NativeRuntimeTarget
impl Sync for NativeRuntimeTarget
impl Unpin for NativeRuntimeTarget
impl UnsafeUnpin for NativeRuntimeTarget
impl UnwindSafe for NativeRuntimeTarget
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.