Enum tf2_enum::StrangePart
source · #[repr(u32)]
pub enum StrangePart {
Show 52 variants
ScoutsKilled,
SnipersKilled,
DemomenKilled,
HeaviesKilled,
PyrosKilled,
SpiesKilled,
EngineersKilled,
MedicsKilled,
BuildingsDestroyed,
ProjectilesReflected,
HeadshotKills,
AirborneEnemyKills,
GibKills,
KillsUnderAFullMoon,
Dominations,
Revenges,
PosthumousKills,
TeammatesExtinguished,
CriticalKills,
KillsWhileExplosiveJumping,
SappersRemoved,
CloakedSpiesKilled,
MedicsKilledThatHaveFullUberCharge,
RobotsDestroyed,
DefendersKilled,
SubmergedEnemyKills,
KillsWhileInvulnUberCharged,
TanksDestroyed,
LongDistanceKills,
KillsDuringVictoryTime,
RobotSpiesDestroyed,
TauntKills,
UnusualWearingPlayerKills,
BurningPlayerKills,
KillstreaksEnded,
FreezecamTauntAppearances,
DamageDealt,
FiresSurvived,
AlliedHealingDone,
PointBlankKills,
RobotsKilledDuringHalloween,
KillsDuringHalloween,
KillsWhileLowHealth,
GiantRobotsDestroyed,
Kills,
FullHealthKills,
SoldiersKilled,
RobotScoutsDestroyed,
TauntingPlayerKills,
Assists,
NotCritNorMiniCritKills,
PlayersHit,
}
Variants§
ScoutsKilled
SnipersKilled
DemomenKilled
HeaviesKilled
PyrosKilled
SpiesKilled
EngineersKilled
MedicsKilled
BuildingsDestroyed
ProjectilesReflected
HeadshotKills
AirborneEnemyKills
GibKills
KillsUnderAFullMoon
Dominations
Revenges
PosthumousKills
TeammatesExtinguished
CriticalKills
KillsWhileExplosiveJumping
SappersRemoved
CloakedSpiesKilled
MedicsKilledThatHaveFullUberCharge
RobotsDestroyed
DefendersKilled
SubmergedEnemyKills
KillsWhileInvulnUberCharged
TanksDestroyed
LongDistanceKills
KillsDuringVictoryTime
RobotSpiesDestroyed
TauntKills
UnusualWearingPlayerKills
BurningPlayerKills
KillstreaksEnded
FreezecamTauntAppearances
DamageDealt
FiresSurvived
AlliedHealingDone
PointBlankKills
RobotsKilledDuringHalloween
KillsDuringHalloween
KillsWhileLowHealth
GiantRobotsDestroyed
Kills
FullHealthKills
SoldiersKilled
RobotScoutsDestroyed
TauntingPlayerKills
Assists
NotCritNorMiniCritKills
PlayersHit
Implementations§
source§impl StrangePart
impl StrangePart
pub fn score_type(&self) -> u32
pub fn from_score_type(score_type: u32) -> Option<Self>
pub fn defindex(&self) -> u32
pub fn from_defindex(defindex: u32) -> Option<Self>
Trait Implementations§
source§impl Attributes for StrangePart
impl Attributes for StrangePart
source§impl Clone for StrangePart
impl Clone for StrangePart
source§fn clone(&self) -> StrangePart
fn clone(&self) -> StrangePart
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 StrangePart
impl Debug for StrangePart
source§impl<'de> Deserialize<'de> for StrangePart
impl<'de> Deserialize<'de> for StrangePart
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 StrangePart
impl Display for StrangePart
source§impl From<StrangePart> for u32
impl From<StrangePart> for u32
source§fn from(enum_value: StrangePart) -> Self
fn from(enum_value: StrangePart) -> Self
Converts to this type from the input type.
source§impl FromStr for StrangePart
impl FromStr for StrangePart
source§impl Hash for StrangePart
impl Hash for StrangePart
source§impl IntoEnumIterator for StrangePart
impl IntoEnumIterator for StrangePart
source§impl PartialEq<StrangePart> for StrangePart
impl PartialEq<StrangePart> for StrangePart
source§fn eq(&self, other: &StrangePart) -> bool
fn eq(&self, other: &StrangePart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StrangePart
impl Serialize for StrangePart
source§impl TryFrom<u32> for StrangePart
impl TryFrom<u32> for StrangePart
§type Error = TryFromPrimitiveError<StrangePart>
type Error = TryFromPrimitiveError<StrangePart>
The type returned in the event of a conversion error.