pub enum PackPlatform {
LinuxX86_64,
WindowsX86_64,
}Expand description
Native target with an accepted optional parser-pack artifact contract.
Variants§
Implementations§
Source§impl PackPlatform
impl PackPlatform
Sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Return the canonical Rust target triple used by manifest digests.
Sourcepub const fn worker_file_name(self) -> &'static str
pub const fn worker_file_name(self) -> &'static str
Return the executable name shipped at the pack root.
Sourcepub const fn containment_broker_file_name(self) -> Option<&'static str>
pub const fn containment_broker_file_name(self) -> Option<&'static str>
Return the artifact-bound runtime-containment broker when the platform requires one.
Sourcepub fn grammar_library_file_name(self, stem: &GrammarLibraryStem) -> String
pub fn grammar_library_file_name(self, stem: &GrammarLibraryStem) -> String
Return the platform-native filename for a validated grammar-library stem.
Trait Implementations§
Source§impl Clone for PackPlatform
impl Clone for PackPlatform
Source§fn clone(&self) -> PackPlatform
fn clone(&self) -> PackPlatform
Returns a duplicate 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 PackPlatform
impl Debug for PackPlatform
Source§impl<'de> Deserialize<'de> for PackPlatform
impl<'de> Deserialize<'de> for PackPlatform
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
Source§impl Hash for PackPlatform
impl Hash for PackPlatform
Source§impl Ord for PackPlatform
impl Ord for PackPlatform
Source§fn cmp(&self, other: &PackPlatform) -> Ordering
fn cmp(&self, other: &PackPlatform) -> 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 for PackPlatform
impl PartialEq for PackPlatform
Source§impl PartialOrd for PackPlatform
impl PartialOrd for PackPlatform
Source§impl Serialize for PackPlatform
impl Serialize for PackPlatform
impl Copy for PackPlatform
impl Eq for PackPlatform
impl StructuralPartialEq for PackPlatform
Auto Trait Implementations§
impl Freeze for PackPlatform
impl RefUnwindSafe for PackPlatform
impl Send for PackPlatform
impl Sync for PackPlatform
impl Unpin for PackPlatform
impl UnwindSafe for PackPlatform
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.