pub struct Spell {
pub spell_type: SpellType,
pub cost: u32,
pub flags: SpellFlags,
}
Fields
spell_type: SpellType
cost: u32
flags: SpellFlags
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Spell
impl<'de> Deserialize<'de> for Spell
sourcefn 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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more