Enum tf2_enum::KillstreakTier
source · [−]#[repr(u32)]
pub enum KillstreakTier {
Killstreak,
Specialized,
Professional,
}
Variants
Killstreak
Specialized
Professional
Trait Implementations
sourceimpl Clone for KillstreakTier
impl Clone for KillstreakTier
sourcefn clone(&self) -> KillstreakTier
fn clone(&self) -> KillstreakTier
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 KillstreakTier
impl Debug for KillstreakTier
sourceimpl<'de> Deserialize<'de> for KillstreakTier
impl<'de> Deserialize<'de> for KillstreakTier
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 KillstreakTier
impl Display for KillstreakTier
sourceimpl From<KillstreakTier> for u32
impl From<KillstreakTier> for u32
sourcefn from(enum_value: KillstreakTier) -> Self
fn from(enum_value: KillstreakTier) -> Self
Converts to this type from the input type.
sourceimpl FromStr for KillstreakTier
impl FromStr for KillstreakTier
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for KillstreakTier
impl Hash for KillstreakTier
sourceimpl PartialEq<KillstreakTier> for KillstreakTier
impl PartialEq<KillstreakTier> for KillstreakTier
sourcefn eq(&self, other: &KillstreakTier) -> bool
fn eq(&self, other: &KillstreakTier) -> bool
sourceimpl Serialize for KillstreakTier
impl Serialize for KillstreakTier
sourceimpl TryFrom<u32> for KillstreakTier
impl TryFrom<u32> for KillstreakTier
type Error = TryFromPrimitiveError<KillstreakTier>
type Error = TryFromPrimitiveError<KillstreakTier>
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 KillstreakTier
impl TryFromPrimitive for KillstreakTier
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for KillstreakTier
impl Eq for KillstreakTier
impl StructuralEq for KillstreakTier
impl StructuralPartialEq for KillstreakTier
Auto Trait Implementations
impl RefUnwindSafe for KillstreakTier
impl Send for KillstreakTier
impl Sync for KillstreakTier
impl Unpin for KillstreakTier
impl UnwindSafe for KillstreakTier
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