Enum tf2_enum::Killstreaker
source · #[repr(u32)]pub enum Killstreaker {
FireHorns,
CerebralDischarge,
Tornado,
Flames,
Singularity,
Incinerator,
HypnoBeam,
}
Expand description
Killstreaker.
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 Ord for Killstreaker
impl Ord for Killstreaker
source§fn cmp(&self, other: &Killstreaker) -> Ordering
fn cmp(&self, other: &Killstreaker) -> 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<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 PartialOrd<Killstreaker> for Killstreaker
impl PartialOrd<Killstreaker> for Killstreaker
source§fn partial_cmp(&self, other: &Killstreaker) -> Option<Ordering>
fn partial_cmp(&self, other: &Killstreaker) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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.
source§impl TryFromPrimitive for Killstreaker
impl TryFromPrimitive for Killstreaker
impl Copy for Killstreaker
impl Eq for Killstreaker
impl StructuralEq for Killstreaker
impl StructuralPartialEq for Killstreaker
Auto Trait Implementations§
impl RefUnwindSafe for Killstreaker
impl Send for Killstreaker
impl Sync for Killstreaker
impl Unpin for Killstreaker
impl UnwindSafe for Killstreaker
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