#[repr(u32)]pub enum KillstreakTier {
Killstreak = 1,
Specialized = 2,
Professional = 3,
}
Expand description
Killstreak tier.
Variants§
Trait Implementations§
Source§impl Clone for KillstreakTier
impl Clone for KillstreakTier
Source§fn clone(&self) -> KillstreakTier
fn clone(&self) -> KillstreakTier
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 KillstreakTier
impl Debug for KillstreakTier
Source§impl<'de> Deserialize<'de> for KillstreakTier
impl<'de> Deserialize<'de> for KillstreakTier
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 KillstreakTier
impl Display for KillstreakTier
Source§impl From<KillstreakTier> for u32
impl From<KillstreakTier> for u32
Source§fn from(enum_value: KillstreakTier) -> Self
fn from(enum_value: KillstreakTier) -> Self
Converts to this type from the input type.
Source§impl FromStr for KillstreakTier
impl FromStr for KillstreakTier
Source§impl Hash for KillstreakTier
impl Hash for KillstreakTier
Source§impl IntoEnumIterator for KillstreakTier
impl IntoEnumIterator for KillstreakTier
Source§impl Ord for KillstreakTier
impl Ord for KillstreakTier
Source§fn cmp(&self, other: &KillstreakTier) -> Ordering
fn cmp(&self, other: &KillstreakTier) -> 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 KillstreakTier
impl PartialEq for KillstreakTier
Source§impl PartialOrd for KillstreakTier
impl PartialOrd for KillstreakTier
Source§impl Serialize for KillstreakTier
impl Serialize for KillstreakTier
Source§impl TryFrom<&str> for KillstreakTier
impl TryFrom<&str> for KillstreakTier
Source§impl TryFrom<u32> for KillstreakTier
impl TryFrom<u32> for KillstreakTier
Source§type Error = TryFromPrimitiveError<KillstreakTier>
type Error = TryFromPrimitiveError<KillstreakTier>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for KillstreakTier
impl TryFromPrimitive for KillstreakTier
const NAME: &'static str = "KillstreakTier"
type Primitive = u32
type Error = TryFromPrimitiveError<KillstreakTier>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for KillstreakTier
impl Eq for KillstreakTier
impl StructuralPartialEq for KillstreakTier
Auto Trait Implementations§
impl Freeze for KillstreakTier
impl RefUnwindSafe for KillstreakTier
impl Send for KillstreakTier
impl Sync for KillstreakTier
impl Unpin for KillstreakTier
impl UnwindSafe for KillstreakTier
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