#[repr(u32)]pub enum Killstreaker {
FireHorns = 2_002,
CerebralDischarge = 2_003,
Tornado = 2_004,
Flames = 2_005,
Singularity = 2_006,
Incinerator = 2_007,
HypnoBeam = 2_008,
}
Expand description
Killstreaker.
Variants§
FireHorns = 2_002
CerebralDischarge = 2_003
Tornado = 2_004
Flames = 2_005
Singularity = 2_006
Incinerator = 2_007
HypnoBeam = 2_008
Trait Implementations§
Source§impl Clone for Killstreaker
impl Clone for Killstreaker
Source§fn clone(&self) -> Killstreaker
fn clone(&self) -> Killstreaker
Returns a duplicate 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 for Killstreaker
impl PartialEq for Killstreaker
Source§impl PartialOrd for Killstreaker
impl PartialOrd for Killstreaker
Source§impl Serialize for Killstreaker
impl Serialize for Killstreaker
Source§impl TryFrom<&str> for Killstreaker
impl TryFrom<&str> for Killstreaker
Source§impl TryFrom<u32> for Killstreaker
impl TryFrom<u32> for Killstreaker
Source§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
const NAME: &'static str = "Killstreaker"
type Primitive = u32
type Error = TryFromPrimitiveError<Killstreaker>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for Killstreaker
impl Eq for Killstreaker
impl StructuralPartialEq for Killstreaker
Auto Trait Implementations§
impl Freeze for Killstreaker
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