Enum gamemstr_common::DamageType
source · pub enum DamageType {
Show 13 variants
Slashing,
Piercing,
Bludgeoning,
Poison,
Acid,
Fire,
Cold,
Radiant,
Necrotic,
Lightning,
Thunder,
Force,
Psychic,
}Variants§
Slashing
Piercing
Bludgeoning
Poison
Acid
Fire
Cold
Radiant
Necrotic
Lightning
Thunder
Force
Psychic
Trait Implementations§
source§impl Clone for DamageType
impl Clone for DamageType
source§fn clone(&self) -> DamageType
fn clone(&self) -> DamageType
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 DamageType
impl Debug for DamageType
source§impl<'de> Deserialize<'de> for DamageType
impl<'de> Deserialize<'de> for DamageType
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 DamageType
impl Display for DamageType
source§impl PartialEq<DamageType> for DamageType
impl PartialEq<DamageType> for DamageType
source§fn eq(&self, other: &DamageType) -> bool
fn eq(&self, other: &DamageType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DamageType
impl Serialize for DamageType
impl StructuralPartialEq for DamageType
Auto Trait Implementations§
impl RefUnwindSafe for DamageType
impl Send for DamageType
impl Sync for DamageType
impl Unpin for DamageType
impl UnwindSafe for DamageType
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