pub(crate) struct AuraDependencyGraph {
entries: Box<[AuraDependencyGraphEntry]>,
cost_spells: Box<[LocalSpellIdx]>,
recharge_spells: Box<[LocalSpellIdx]>,
maximum_charge_spells: Box<[LocalSpellIdx]>,
gate_spells: Box<[LocalSpellIdx]>,
aura_timing: Box<[LocalAuraIdx]>,
exclusive_spells: Box<[UnboundExclusiveSpellDependency]>,
}Expand description
Layout-free flattened dependency adjacency compiled before rotation preparation.
Fields§
§entries: Box<[AuraDependencyGraphEntry]>§cost_spells: Box<[LocalSpellIdx]>§recharge_spells: Box<[LocalSpellIdx]>§maximum_charge_spells: Box<[LocalSpellIdx]>§gate_spells: Box<[LocalSpellIdx]>§aura_timing: Box<[LocalAuraIdx]>§exclusive_spells: Box<[UnboundExclusiveSpellDependency]>Implementations§
Source§impl AuraDependencyGraph
impl AuraDependencyGraph
pub(crate) fn compile( auras: &[AuraData], spells: &[SpellData], spell_effects: &[SpellEffectData], config: &ProgramConfig, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuraDependencyGraph
impl RefUnwindSafe for AuraDependencyGraph
impl Send for AuraDependencyGraph
impl Sync for AuraDependencyGraph
impl Unpin for AuraDependencyGraph
impl UnsafeUnpin for AuraDependencyGraph
impl UnwindSafe for AuraDependencyGraph
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