pub struct BuffTotals {Show 24 fields
pub haste_pct: f64,
pub haste_mult: f64,
pub spell_cast_speed_mult: f64,
pub attack_speed_mult: f64,
pub auto_attack_damage_mult: f64,
pub auto_attack_crit_pct: f64,
pub resource_gain_mult: f64,
pub rage_gain_mult: f64,
pub crit_pct: f64,
pub mastery_pct: f64,
pub vers_pct: f64,
pub primary_stat: f64,
pub primary_stat_pct: f64,
pub bonus_primary_stat_pct: f64,
pub bonus_all_stat_pct: f64,
pub bonus_stat_pct: [f64; 4],
pub override_spell_power_by_attack_power_pct: Option<f64>,
pub override_attack_power_by_spell_power_pct: Option<f64>,
pub attack_power_pct: f64,
pub damage_mult: f64,
pub pet_damage_mult: f64,
pub school_damage_mult: [f64; 8],
pub regen_pct: f64,
pub max_resource_flat: f64,
}Expand description
Accumulated buff totals from all active auras for one frame.
Fields§
§haste_pct: f64§haste_mult: f64§spell_cast_speed_mult: f64§attack_speed_mult: f64§auto_attack_damage_mult: f64§auto_attack_crit_pct: f64§resource_gain_mult: f64§rage_gain_mult: f64§crit_pct: f64§mastery_pct: f64§vers_pct: f64§primary_stat: f64§primary_stat_pct: f64§bonus_primary_stat_pct: f64§bonus_all_stat_pct: f64§bonus_stat_pct: [f64; 4]§override_spell_power_by_attack_power_pct: Option<f64>§override_attack_power_by_spell_power_pct: Option<f64>§attack_power_pct: f64§damage_mult: f64§pet_damage_mult: f64§school_damage_mult: [f64; 8]§regen_pct: f64§max_resource_flat: f64Implementations§
Source§impl BuffTotals
impl BuffTotals
pub fn add(&mut self, effect: BuffEffect)
Trait Implementations§
Source§impl Clone for BuffTotals
impl Clone for BuffTotals
Source§fn clone(&self) -> BuffTotals
fn clone(&self) -> BuffTotals
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 BuffTotals
impl Debug for BuffTotals
Source§impl Default for BuffTotals
impl Default for BuffTotals
impl Copy for BuffTotals
Auto Trait Implementations§
impl Freeze for BuffTotals
impl RefUnwindSafe for BuffTotals
impl Send for BuffTotals
impl Sync for BuffTotals
impl Unpin for BuffTotals
impl UnsafeUnpin for BuffTotals
impl UnwindSafe for BuffTotals
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