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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
Performs the conversion.
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 PartialEq<Killstreaker> for Killstreaker
impl PartialEq<Killstreaker> for Killstreaker
sourceimpl Serialize for Killstreaker
impl Serialize for Killstreaker
sourceimpl TryFrom<u32> for Killstreaker
impl TryFrom<u32> for Killstreaker
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
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 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more