Enum tf2_enum::KillstreakTier
source · [−]#[repr(u8)]
pub enum KillstreakTier {
Basic,
Specialized,
Professional,
}
Variants
Basic
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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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 u8
impl From<KillstreakTier> for u8
sourcefn from(enum_value: KillstreakTier) -> Self
fn from(enum_value: KillstreakTier) -> Self
Performs the conversion.
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
sourceimpl Serialize for KillstreakTier
impl Serialize for KillstreakTier
sourceimpl TryFrom<u8> for KillstreakTier
impl TryFrom<u8> for KillstreakTier
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
sourcefn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for KillstreakTier
impl TryFromPrimitive for KillstreakTier
type Primitive = u8
const NAME: &'static str
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
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 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