pub(crate) struct ProgramConfig {Show 13 fields
pub base_stats: BaseStats,
pub min_primary_cost: f64,
pub haste_regen: bool,
pub game_data: ResolvedGameData,
pub encounter: ResolvedEncounter,
pub mastery_hook: MasteryFn,
pub mastery_crit_damage: MasteryFn,
pub mastery_spell: SpellIdx,
pub(crate) spec_config: Box<dyn SpecConfig>,
pub bugs: BugToggles,
pub cast_latency: CastLatency,
pub raid_events: Vec<RaidEventConfig>,
pub external_buffs: Vec<ExternalBuffConfig>,
}Expand description
Immutable combat-program configuration.
Fields§
§base_stats: BaseStats§min_primary_cost: f64§haste_regen: bool§game_data: ResolvedGameData§encounter: ResolvedEncounter§mastery_hook: MasteryFn§mastery_crit_damage: MasteryFn§mastery_spell: SpellIdx§spec_config: Box<dyn SpecConfig>§bugs: BugToggles§cast_latency: CastLatency§raid_events: Vec<RaidEventConfig>§external_buffs: Vec<ExternalBuffConfig>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProgramConfig
impl !RefUnwindSafe for ProgramConfig
impl Send for ProgramConfig
impl !Sync for ProgramConfig
impl Unpin for ProgramConfig
impl UnsafeUnpin for ProgramConfig
impl !UnwindSafe for ProgramConfig
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