pub struct UnknownMod {
pub acronym: Acronym,
}Expand description
Any unknown mod.
Fields§
§acronym: AcronymImplementations§
Source§impl UnknownMod
impl UnknownMod
Sourcepub const UNKNOWN_ACRONYM: Acronym
pub const UNKNOWN_ACRONYM: Acronym
The default Acronym for an unknown mod without specific
acronym.
Sourcepub const fn incompatible_mods() -> Empty<Acronym>
pub const fn incompatible_mods() -> Empty<Acronym>
Returns an empty iterator
Sourcepub const fn description() -> &'static str
pub const fn description() -> &'static str
A custom description for any unknown mod
Sourcepub const fn kind() -> GameModKind
pub const fn kind() -> GameModKind
A manually assigned GameModKind for any unknown mod
Trait Implementations§
Source§impl Clone for UnknownMod
impl Clone for UnknownMod
Source§fn clone(&self) -> UnknownMod
fn clone(&self) -> UnknownMod
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 UnknownMod
impl Debug for UnknownMod
Source§impl Default for UnknownMod
impl Default for UnknownMod
Source§fn default() -> UnknownMod
fn default() -> UnknownMod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnknownMod
impl<'de> Deserialize<'de> for UnknownMod
Source§fn deserialize<D>(d: D) -> Result<UnknownMod, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<UnknownMod, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for UnknownMod
impl Hash for UnknownMod
Source§impl Ord for UnknownMod
impl Ord for UnknownMod
Source§fn cmp(&self, other: &UnknownMod) -> Ordering
fn cmp(&self, other: &UnknownMod) -> 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 UnknownMod
impl PartialEq for UnknownMod
Source§impl PartialOrd for UnknownMod
impl PartialOrd for UnknownMod
Source§impl Serialize for UnknownMod
impl Serialize for UnknownMod
Source§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for UnknownMod
impl Eq for UnknownMod
impl StructuralPartialEq for UnknownMod
Auto Trait Implementations§
impl Freeze for UnknownMod
impl RefUnwindSafe for UnknownMod
impl Send for UnknownMod
impl Sync for UnknownMod
impl Unpin for UnknownMod
impl UnwindSafe for UnknownMod
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.