pub struct EffectSpec {
pub key: u32,
pub attribute: u16,
pub tags: u64,
pub seconds: f32,
pub additive: f32,
pub multiplier: f32,
pub strength: f32,
pub stacking: Stacking,
pub periodic: Option<Periodic>,
}Fields§
§key: u32§attribute: u16§seconds: f32§additive: f32§multiplier: f32§strength: f32Explicit strength ordering avoids confusing a stronger slow with a larger multiplier.
stacking: Stacking§periodic: Option<Periodic>Implementations§
Source§impl EffectSpec
impl EffectSpec
Trait Implementations§
Source§impl Clone for EffectSpec
impl Clone for EffectSpec
Source§fn clone(&self) -> EffectSpec
fn clone(&self) -> EffectSpec
Returns a duplicate 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 EffectSpec
impl Debug for EffectSpec
Source§impl PartialEq for EffectSpec
impl PartialEq for EffectSpec
impl Copy for EffectSpec
impl StructuralPartialEq for EffectSpec
Auto Trait Implementations§
impl Freeze for EffectSpec
impl RefUnwindSafe for EffectSpec
impl Send for EffectSpec
impl Sync for EffectSpec
impl Unpin for EffectSpec
impl UnwindSafe for EffectSpec
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