Struct esl::EffectMetadata
source · pub struct EffectMetadata {
pub school: School,
pub base_cost: f32,
pub flags: EffectFlags,
pub color: Color,
pub size_factor: f32,
pub speed: f32,
pub size_cap: f32,
}
Fields§
§school: School
§base_cost: f32
§flags: EffectFlags
§color: Color
§size_factor: f32
§speed: f32
§size_cap: f32
Trait Implementations§
source§impl Clone for EffectMetadata
impl Clone for EffectMetadata
source§fn clone(&self) -> EffectMetadata
fn clone(&self) -> EffectMetadata
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 EffectMetadata
impl Debug for EffectMetadata
source§impl<'de> Deserialize<'de> for EffectMetadata
impl<'de> Deserialize<'de> for EffectMetadata
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 EffectMetadata
impl PartialEq for EffectMetadata
source§impl Serialize for EffectMetadata
impl Serialize for EffectMetadata
source§impl From<EffectMetadata> for Field
impl From<EffectMetadata> for Field
source§fn from(v: EffectMetadata) -> Self
fn from(v: EffectMetadata) -> Self
Converts to this type from the input type.
impl Eq for EffectMetadata
Auto Trait Implementations§
impl RefUnwindSafe for EffectMetadata
impl Send for EffectMetadata
impl Sync for EffectMetadata
impl Unpin for EffectMetadata
impl UnwindSafe for EffectMetadata
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