#[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§impl PartialOrd for PaintSpell
impl PartialOrd for PaintSpell
Source§impl Serialize for PaintSpell
impl Serialize for PaintSpell
Source§impl TryFrom<&str> for PaintSpell
impl TryFrom<&str> for PaintSpell
Source§impl TryFrom<Spell> for PaintSpell
impl TryFrom<Spell> for PaintSpell
Source§impl TryFrom<u32> for PaintSpell
impl TryFrom<u32> for PaintSpell
Source§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
const NAME: &'static str = "PaintSpell"
type Primitive = u32
type Error = TryFromPrimitiveError<PaintSpell>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for PaintSpell
impl Eq for PaintSpell
impl StructuralPartialEq for PaintSpell
Auto Trait Implementations§
impl Freeze for PaintSpell
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