pub(crate) struct SpellResolutionContext<'a, 'resolver> {Show 13 fields
pub builder: &'a mut ResolvedGameDataBuilder,
pub resolver: &'a DynDataResolver<'resolver>,
pub talents: &'a [TalentSelection],
pub passives: &'a [RankedPassive],
pub crit_chance_scaled: &'a [CritChanceScaledCritDamage],
pub effect_overrides: &'a [((u32, u8), f64)],
pub power_modifiers: &'a PowerModifiers,
pub active_aura_spell_ids: &'a FastSet<i32>,
pub primary_resource_type: i32,
pub secondary_resource_type: Option<i32>,
pub required_spell_ids: &'a FastSet<u32>,
pub pending: &'a mut VecDeque<u32>,
pub resolved: &'a mut FastSet<u32>,
}Fields§
§builder: &'a mut ResolvedGameDataBuilder§resolver: &'a DynDataResolver<'resolver>§talents: &'a [TalentSelection]§passives: &'a [RankedPassive]§crit_chance_scaled: &'a [CritChanceScaledCritDamage]§effect_overrides: &'a [((u32, u8), f64)]§power_modifiers: &'a PowerModifiers§active_aura_spell_ids: &'a FastSet<i32>§primary_resource_type: i32§secondary_resource_type: Option<i32>§required_spell_ids: &'a FastSet<u32>§pending: &'a mut VecDeque<u32>§resolved: &'a mut FastSet<u32>Auto Trait Implementations§
impl<'a, 'resolver> Freeze for SpellResolutionContext<'a, 'resolver>
impl<'a, 'resolver> !RefUnwindSafe for SpellResolutionContext<'a, 'resolver>
impl<'a, 'resolver> Send for SpellResolutionContext<'a, 'resolver>
impl<'a, 'resolver> Sync for SpellResolutionContext<'a, 'resolver>
impl<'a, 'resolver> Unpin for SpellResolutionContext<'a, 'resolver>
impl<'a, 'resolver> UnsafeUnpin for SpellResolutionContext<'a, 'resolver>
impl<'a, 'resolver> !UnwindSafe for SpellResolutionContext<'a, 'resolver>
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