Enum gamemstr_common::spell::Attribute
source · pub enum Attribute {
SpellLevel(SpellLevel),
CastingTime(CastingTime),
Duration(Duration),
Damage(DieStat),
Range(SpellRange),
Area(Area),
DamageType(DamageType),
Components(Components),
AttackBonus(i32),
Save(Save),
}Variants§
SpellLevel(SpellLevel)
CastingTime(CastingTime)
Duration(Duration)
Damage(DieStat)
Range(SpellRange)
Area(Area)
DamageType(DamageType)
Components(Components)
AttackBonus(i32)
Save(Save)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
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 Ord for Attribute
impl Ord for Attribute
source§impl PartialEq<Attribute> for Attribute
impl PartialEq<Attribute> for Attribute
source§impl PartialOrd<Attribute> for Attribute
impl PartialOrd<Attribute> for Attribute
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more