Enum gamemstr_common::creature::CreatureType
source · 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 copy of the value. Read more
1.0.0 · 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 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<CreatureType> for CreatureType
impl PartialEq<CreatureType> for CreatureType
source§fn eq(&self, other: &CreatureType) -> bool
fn eq(&self, other: &CreatureType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.