#[repr(u32)]pub enum SpellType {
Spell = 0,
Ability = 1,
Blight = 2,
Disease = 3,
Curse = 4,
Power = 5,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SpellType
impl<'de> Deserialize<'de> for SpellType
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 Ord for SpellType
impl Ord for SpellType
source§impl PartialEq for SpellType
impl PartialEq for SpellType
source§impl PartialOrd for SpellType
impl PartialOrd for SpellType
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 Display for SpellType
impl Display for SpellType
source§fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
fn fmt(&self, f: &mut std_fmt_Formatter<'_>) -> std_fmt_Result
Formats the value using the given formatter. Read more
impl Copy for SpellType
impl Eq for SpellType
impl StructuralEq for SpellType
impl StructuralPartialEq for SpellType
Auto Trait Implementations§
impl RefUnwindSafe for SpellType
impl Send for SpellType
impl Sync for SpellType
impl Unpin for SpellType
impl UnwindSafe for SpellType
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