Enum tf2_enum::KillstreakTier
source · #[repr(u32)]
pub enum KillstreakTier {
Killstreak,
Specialized,
Professional,
}
Variants§
Trait Implementations§
source§impl Clone for KillstreakTier
impl Clone for KillstreakTier
source§fn clone(&self) -> KillstreakTier
fn clone(&self) -> KillstreakTier
Returns a copy 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 KillstreakTier
impl Debug for KillstreakTier
source§impl<'de> Deserialize<'de> for KillstreakTier
impl<'de> Deserialize<'de> for KillstreakTier
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 Display for KillstreakTier
impl Display for KillstreakTier
source§impl From<KillstreakTier> for u32
impl From<KillstreakTier> for u32
source§fn from(enum_value: KillstreakTier) -> Self
fn from(enum_value: KillstreakTier) -> Self
Converts to this type from the input type.
source§impl FromStr for KillstreakTier
impl FromStr for KillstreakTier
source§impl Hash for KillstreakTier
impl Hash for KillstreakTier
source§impl PartialEq<KillstreakTier> for KillstreakTier
impl PartialEq<KillstreakTier> for KillstreakTier
source§fn eq(&self, other: &KillstreakTier) -> bool
fn eq(&self, other: &KillstreakTier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KillstreakTier
impl Serialize for KillstreakTier
source§impl TryFrom<u32> for KillstreakTier
impl TryFrom<u32> for KillstreakTier
§type Error = TryFromPrimitiveError<KillstreakTier>
type Error = TryFromPrimitiveError<KillstreakTier>
The type returned in the event of a conversion error.