pub enum TagKind {
Proton,
Wine {
kind: WineTagKind,
},
}
Expand description
Represents the kind of version for a Tag
.
GE versions exists for both Proton and Wine. Additionally, for Wine also League of Legends specific versions exist. Therefore, all possible version kinds are represented by this enum.
This enum supports serde
’s serialization and deserialization traits.
Variants§
Implementations§
Source§impl TagKind
impl TagKind
Sourcepub fn compatibility_tool_name(&self) -> String
pub fn compatibility_tool_name(&self) -> String
Get a “human readable” compatibility tool name for the TagKind
.
Sourcepub fn compatibility_tool_kind(&self) -> String
pub fn compatibility_tool_kind(&self) -> String
Get a “human readable” compatibility tool kind text for the TagKind
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TagKind
impl<'de> Deserialize<'de> for TagKind
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 From<&WineTagKind> for TagKind
impl From<&WineTagKind> for TagKind
Source§fn from(kind: &WineTagKind) -> Self
fn from(kind: &WineTagKind) -> Self
Converts to this type from the input type.
Source§impl From<WineTagKind> for TagKind
impl From<WineTagKind> for TagKind
Source§fn from(kind: WineTagKind) -> Self
fn from(kind: WineTagKind) -> Self
Converts to this type from the input type.
Source§impl Ord for TagKind
impl Ord for TagKind
Source§impl PartialOrd for TagKind
impl PartialOrd for TagKind
impl Copy for TagKind
impl Eq for TagKind
impl StructuralPartialEq for TagKind
Auto Trait Implementations§
impl Freeze for TagKind
impl RefUnwindSafe for TagKind
impl Send for TagKind
impl Sync for TagKind
impl Unpin for TagKind
impl UnwindSafe for TagKind
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
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.