pub enum DragonType {
Elder,
Earth,
Cloud,
Fire,
Water,
Hextech,
Chemtech,
}Variants§
Trait Implementations§
Source§impl Clone for DragonType
impl Clone for DragonType
Source§fn clone(&self) -> DragonType
fn clone(&self) -> DragonType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DragonType
impl Debug for DragonType
Source§impl<'de> Deserialize<'de> for DragonType
impl<'de> Deserialize<'de> for DragonType
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 PartialEq for DragonType
impl PartialEq for DragonType
Source§fn eq(&self, other: &DragonType) -> bool
fn eq(&self, other: &DragonType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DragonType
Auto Trait Implementations§
impl Freeze for DragonType
impl RefUnwindSafe for DragonType
impl Send for DragonType
impl Sync for DragonType
impl Unpin for DragonType
impl UnsafeUnpin for DragonType
impl UnwindSafe for DragonType
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