Enum tf2_enum::Killstreaker
source · [−]#[repr(u32)]
pub enum Killstreaker {
FireHorns,
CerebralDischarge,
Tornado,
Flames,
Singularity,
Incinerator,
HypnoBeam,
}
Variants
FireHorns
CerebralDischarge
Tornado
Flames
Singularity
Incinerator
HypnoBeam
Trait Implementations
sourceimpl Clone for Killstreaker
impl Clone for Killstreaker
sourcefn clone(&self) -> Killstreaker
fn clone(&self) -> Killstreaker
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Killstreaker
impl Debug for Killstreaker
sourceimpl<'de> Deserialize<'de> for Killstreaker
impl<'de> Deserialize<'de> for Killstreaker
sourcefn 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
sourceimpl Display for Killstreaker
impl Display for Killstreaker
sourceimpl From<Killstreaker> for u32
impl From<Killstreaker> for u32
sourcefn from(enum_value: Killstreaker) -> Self
fn from(enum_value: Killstreaker) -> Self
Converts to this type from the input type.
sourceimpl FromStr for Killstreaker
impl FromStr for Killstreaker
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for Killstreaker
impl Hash for Killstreaker
sourceimpl IntoEnumIterator for Killstreaker
impl IntoEnumIterator for Killstreaker
sourceimpl PartialEq<Killstreaker> for Killstreaker
impl PartialEq<Killstreaker> for Killstreaker
sourcefn eq(&self, other: &Killstreaker) -> bool
fn eq(&self, other: &Killstreaker) -> bool
sourceimpl Serialize for Killstreaker
impl Serialize for Killstreaker
sourceimpl 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.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for Killstreaker
impl TryFromPrimitive for Killstreaker
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more