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 PartialOrd for Attribute
impl PartialOrd for Attribute
impl Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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