pub enum CreatureType {
Monster(MonsterType),
}
Variants§
Monster(MonsterType)
Trait Implementations§
Source§impl Clone for CreatureType
impl Clone for CreatureType
Source§fn clone(&self) -> CreatureType
fn clone(&self) -> CreatureType
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 CreatureType
impl Debug for CreatureType
Source§impl<'de> Deserialize<'de> for CreatureType
impl<'de> Deserialize<'de> for CreatureType
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 Hash for CreatureType
impl Hash for CreatureType
Source§impl PartialEq for CreatureType
impl PartialEq for CreatureType
Source§impl Serialize for CreatureType
impl Serialize for CreatureType
impl Eq for CreatureType
impl StructuralPartialEq for CreatureType
Auto Trait Implementations§
impl Freeze for CreatureType
impl RefUnwindSafe for CreatureType
impl Send for CreatureType
impl Sync for CreatureType
impl Unpin for CreatureType
impl UnwindSafe for CreatureType
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