pub struct PeriodicData {
pub tick_interval_ms: u32,
pub damage_spell_id: u32,
pub effect_ref: Option<DamageEffectRef>,
pub hasted_ticks: bool,
pub partial_tick: bool,
pub may_crit: bool,
pub damage_is_periodic: bool,
pub tick_on_application: bool,
pub effect: PeriodicKind,
pub resource_gain: f64,
pub crit_resource_gain: f64,
pub crit_resource_chance: f64,
}Fields§
§tick_interval_ms: u32§damage_spell_id: u32§effect_ref: Option<DamageEffectRef>§hasted_ticks: bool§partial_tick: bool§may_crit: bool§damage_is_periodic: bool§tick_on_application: bool§effect: PeriodicKind§resource_gain: f64§crit_resource_gain: f64§crit_resource_chance: f64Implementations§
Source§impl PeriodicData
impl PeriodicData
pub const fn damage_spell_id_or(self, aura_id: u32) -> u32
Trait Implementations§
Source§impl Clone for PeriodicData
impl Clone for PeriodicData
Source§fn clone(&self) -> PeriodicData
fn clone(&self) -> PeriodicData
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 PeriodicData
impl Debug for PeriodicData
impl Copy for PeriodicData
Auto Trait Implementations§
impl Freeze for PeriodicData
impl RefUnwindSafe for PeriodicData
impl Send for PeriodicData
impl Sync for PeriodicData
impl Unpin for PeriodicData
impl UnsafeUnpin for PeriodicData
impl UnwindSafe for PeriodicData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more