pub(super) struct PassiveData {
pub passives: Vec<RankedPassive>,
pub effect_overrides: Vec<((u32, u8), f64)>,
pub crit_chance_scaled: Vec<CritChanceScaledCritDamage>,
pub active_aura_spell_ids: FastSet<i32>,
pub overrides: Vec<(SpellId, SpellId)>,
pub resolvable_spec_spells: Vec<u32>,
pub class_target_debuffs: Vec<u32>,
}Fields§
§passives: Vec<RankedPassive>§effect_overrides: Vec<((u32, u8), f64)>Declared passive effect overrides, resolved to ((spell_id, 1-based effect), value).
crit_chance_scaled: Vec<CritChanceScaledCritDamage>Crit-damage terms the passives state as a share of the caster’s own critical strike chance.
active_aura_spell_ids: FastSet<i32>§overrides: Vec<(SpellId, SpellId)>§resolvable_spec_spells: Vec<u32>§class_target_debuffs: Vec<u32>Auto Trait Implementations§
impl Freeze for PassiveData
impl RefUnwindSafe for PassiveData
impl Send for PassiveData
impl Sync for PassiveData
impl Unpin for PassiveData
impl UnsafeUnpin for PassiveData
impl UnwindSafe for PassiveData
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
§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