pub enum SpellRange {
S,
Touch,
Range(i32),
}
Variants§
Trait Implementations§
Source§impl Clone for SpellRange
impl Clone for SpellRange
Source§fn clone(&self) -> SpellRange
fn clone(&self) -> SpellRange
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 SpellRange
impl Debug for SpellRange
Source§impl<'de> Deserialize<'de> for SpellRange
impl<'de> Deserialize<'de> for SpellRange
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 SpellRange
impl Display for SpellRange
Source§impl Hash for SpellRange
impl Hash for SpellRange
Source§impl Ord for SpellRange
impl Ord for SpellRange
Source§fn cmp(&self, other: &SpellRange) -> Ordering
fn cmp(&self, other: &SpellRange) -> 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 SpellRange
impl PartialEq for SpellRange
Source§impl PartialOrd for SpellRange
impl PartialOrd for SpellRange
Source§impl Serialize for SpellRange
impl Serialize for SpellRange
impl Eq for SpellRange
impl StructuralPartialEq for SpellRange
Auto Trait Implementations§
impl Freeze for SpellRange
impl RefUnwindSafe for SpellRange
impl Send for SpellRange
impl Sync for SpellRange
impl Unpin for SpellRange
impl UnwindSafe for SpellRange
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