pub(crate) struct DamageBuffProjection {
pub(crate) attack_power: f64,
pub(crate) spell_power: f64,
pub(crate) attack_power_pct: f64,
pub(crate) crit_pct: f64,
pub(crate) mastery: f64,
pub(crate) vers_pct: f64,
pub(crate) damage_mult: f64,
pub(crate) pet_damage_mult: f64,
pub(crate) auto_attack_damage_mult: f64,
pub(crate) auto_attack_crit_pct: f64,
pub(crate) school_damage_mult: [f64; 8],
}Expand description
Compact static buff projection consumed by outgoing-damage setup.
Fields§
§attack_power: f64§spell_power: f64§attack_power_pct: f64§crit_pct: f64§mastery: f64§vers_pct: f64§damage_mult: f64§pet_damage_mult: f64§auto_attack_damage_mult: f64§auto_attack_crit_pct: f64§school_damage_mult: [f64; 8]Trait Implementations§
Source§impl Clone for DamageBuffProjection
impl Clone for DamageBuffProjection
Source§fn clone(&self) -> DamageBuffProjection
fn clone(&self) -> DamageBuffProjection
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 DamageBuffProjection
impl Debug for DamageBuffProjection
Source§impl Default for DamageBuffProjection
Available on crate feature rotation-optimizations only.
impl Default for DamageBuffProjection
Available on crate feature
rotation-optimizations only.Source§impl PartialEq for DamageBuffProjection
impl PartialEq for DamageBuffProjection
impl Copy for DamageBuffProjection
impl StructuralPartialEq for DamageBuffProjection
Auto Trait Implementations§
impl Freeze for DamageBuffProjection
impl RefUnwindSafe for DamageBuffProjection
impl Send for DamageBuffProjection
impl Sync for DamageBuffProjection
impl Unpin for DamageBuffProjection
impl UnsafeUnpin for DamageBuffProjection
impl UnwindSafe for DamageBuffProjection
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