pub struct CombatConfig {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
Per-iteration-constant configuration (stats, encounter, game data, spec config).
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 CombatConfig
impl !RefUnwindSafe for CombatConfig
impl Send for CombatConfig
impl !Sync for CombatConfig
impl Unpin for CombatConfig
impl UnsafeUnpin for CombatConfig
impl !UnwindSafe for CombatConfig
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