pub enum SpellLevel {
Cantrip,
Level1,
Level2,
Level3,
Level4,
Level5,
Level6,
Level7,
Level8,
Level9,
}
Variants§
Trait Implementations§
Source§impl Clone for SpellLevel
impl Clone for SpellLevel
Source§fn clone(&self) -> SpellLevel
fn clone(&self) -> SpellLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpellLevel
impl Debug for SpellLevel
Source§impl<'de> Deserialize<'de> for SpellLevel
impl<'de> Deserialize<'de> for SpellLevel
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 SpellLevel
impl Display for SpellLevel
Source§impl Hash for SpellLevel
impl Hash for SpellLevel
Source§impl Ord for SpellLevel
impl Ord for SpellLevel
Source§fn cmp(&self, other: &SpellLevel) -> Ordering
fn cmp(&self, other: &SpellLevel) -> 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 SpellLevel
impl PartialEq for SpellLevel
Source§impl PartialOrd for SpellLevel
impl PartialOrd for SpellLevel
Source§impl Serialize for SpellLevel
impl Serialize for SpellLevel
impl Eq for SpellLevel
impl StructuralPartialEq for SpellLevel
Auto Trait Implementations§
impl Freeze for SpellLevel
impl RefUnwindSafe for SpellLevel
impl Send for SpellLevel
impl Sync for SpellLevel
impl Unpin for SpellLevel
impl UnwindSafe for SpellLevel
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