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