Enum gamemstr_common::item::WeaponType
source · pub enum WeaponType {
Sword,
}Variants§
Sword
Trait Implementations§
source§impl Clone for WeaponType
impl Clone for WeaponType
source§fn clone(&self) -> WeaponType
fn clone(&self) -> WeaponType
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 WeaponType
impl Debug for WeaponType
source§impl<'de> Deserialize<'de> for WeaponType
impl<'de> Deserialize<'de> for WeaponType
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 WeaponType
impl Display for WeaponType
source§impl Hash for WeaponType
impl Hash for WeaponType
source§impl PartialEq<WeaponType> for WeaponType
impl PartialEq<WeaponType> for WeaponType
source§fn eq(&self, other: &WeaponType) -> bool
fn eq(&self, other: &WeaponType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.