Enum tf2_enum::PaintSpell
source · [−]#[repr(u32)]
pub enum PaintSpell {
DieJob,
ChromaticCorruption,
PutrescentPigmentation,
SpectralSpectrum,
SinisterStaining,
}
Variants
DieJob
ChromaticCorruption
PutrescentPigmentation
SpectralSpectrum
SinisterStaining
Trait Implementations
sourceimpl Clone for PaintSpell
impl Clone for PaintSpell
sourcefn clone(&self) -> PaintSpell
fn clone(&self) -> PaintSpell
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 PaintSpell
impl Debug for PaintSpell
sourceimpl<'de> Deserialize<'de> for PaintSpell
impl<'de> Deserialize<'de> for PaintSpell
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 PaintSpell
impl Display for PaintSpell
sourceimpl From<PaintSpell> for u32
impl From<PaintSpell> for u32
sourcefn from(enum_value: PaintSpell) -> Self
fn from(enum_value: PaintSpell) -> Self
Converts to this type from the input type.
sourceimpl FromStr for PaintSpell
impl FromStr for PaintSpell
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for PaintSpell
impl Hash for PaintSpell
sourceimpl IntoEnumIterator for PaintSpell
impl IntoEnumIterator for PaintSpell
sourceimpl PartialEq<PaintSpell> for PaintSpell
impl PartialEq<PaintSpell> for PaintSpell
sourceimpl Serialize for PaintSpell
impl Serialize for PaintSpell
sourceimpl 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.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for PaintSpell
impl TryFromPrimitive for PaintSpell
type Primitive = u32
const NAME: &'static str = "PaintSpell"
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
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
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