pub struct Spell {
pub spell_type: SpellType,
pub cost: u32,
pub flags: SpellFlags,
}
Fields§
§spell_type: SpellType
§cost: u32
§flags: SpellFlags
Trait Implementations§
source§impl<'de> Deserialize<'de> for Spell
impl<'de> Deserialize<'de> for Spell
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 PartialEq for Spell
impl PartialEq for Spell
impl Eq for Spell
impl StructuralEq for Spell
impl StructuralPartialEq for Spell
Auto Trait Implementations§
impl RefUnwindSafe for Spell
impl Send for Spell
impl Sync for Spell
impl Unpin for Spell
impl UnwindSafe for Spell
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