Enum tf2_enum::PaintSpell 
source · #[repr(u32)]pub enum PaintSpell {
    DieJob = 0,
    ChromaticCorruption = 1,
    PutrescentPigmentation = 2,
    SpectralSpectrum = 3,
    SinisterStaining = 4,
}Expand description
Paint spell.
Variants§
DieJob = 0
ChromaticCorruption = 1
PutrescentPigmentation = 2
SpectralSpectrum = 3
SinisterStaining = 4
Trait Implementations§
source§impl Clone for PaintSpell
 
impl Clone for PaintSpell
source§fn clone(&self) -> PaintSpell
 
fn clone(&self) -> PaintSpell
Returns a copy 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 PaintSpell
 
impl Debug for PaintSpell
source§impl<'de> Deserialize<'de> for PaintSpell
 
impl<'de> Deserialize<'de> for PaintSpell
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 PaintSpell
 
impl Display for PaintSpell
source§impl From<PaintSpell> for u32
 
impl From<PaintSpell> for u32
source§fn from(enum_value: PaintSpell) -> Self
 
fn from(enum_value: PaintSpell) -> Self
Converts to this type from the input type.
source§impl FromStr for PaintSpell
 
impl FromStr for PaintSpell
source§impl Hash for PaintSpell
 
impl Hash for PaintSpell
source§impl Into<Spell> for PaintSpell
 
impl Into<Spell> for PaintSpell
source§impl IntoEnumIterator for PaintSpell
 
impl IntoEnumIterator for PaintSpell
source§impl Ord for PaintSpell
 
impl Ord for PaintSpell
source§fn cmp(&self, other: &PaintSpell) -> Ordering
 
fn cmp(&self, other: &PaintSpell) -> 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 PaintSpell
 
impl PartialEq for PaintSpell
source§fn eq(&self, other: &PaintSpell) -> bool
 
fn eq(&self, other: &PaintSpell) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PaintSpell
 
impl PartialOrd for PaintSpell
source§fn partial_cmp(&self, other: &PaintSpell) -> Option<Ordering>
 
fn partial_cmp(&self, other: &PaintSpell) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§impl Serialize for PaintSpell
 
impl Serialize for PaintSpell
source§impl TryFrom<Spell> for PaintSpell
 
impl TryFrom<Spell> for PaintSpell
source§impl TryFrom<u32> for PaintSpell
 
impl TryFrom<u32> for PaintSpell
§type Error = TryFromPrimitiveError<PaintSpell>
 
type Error = TryFromPrimitiveError<PaintSpell>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for PaintSpell
 
impl TryFromPrimitive for PaintSpell
impl Copy for PaintSpell
impl Eq for PaintSpell
impl StructuralEq for PaintSpell
impl StructuralPartialEq for PaintSpell
Auto Trait Implementations§
impl RefUnwindSafe for PaintSpell
impl Send for PaintSpell
impl Sync for PaintSpell
impl Unpin for PaintSpell
impl UnwindSafe for PaintSpell
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