pub struct TournamentStatsView {
pub winner_dps: f64,
pub baseline_dps: f64,
pub dps_gain: f64,
pub dps_gain_pct: Option<f64>,
pub total_permutations: u32,
pub total_iterations: u64,
pub phases_completed: u32,
}Expand description
Headline tournament stats: winner vs baseline DPS, phases completed, totals.
Fields§
§winner_dps: f64§baseline_dps: f64§dps_gain: f64§dps_gain_pct: Option<f64>§total_permutations: u32§total_iterations: u64§phases_completed: u32Trait Implementations§
Source§impl Clone for TournamentStatsView
impl Clone for TournamentStatsView
Source§fn clone(&self) -> TournamentStatsView
fn clone(&self) -> TournamentStatsView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TournamentStatsView
impl Debug for TournamentStatsView
Source§impl Serialize for TournamentStatsView
impl Serialize for TournamentStatsView
Source§impl Tsify for TournamentStatsView
impl Tsify for TournamentStatsView
const DECL: &'static str = "/**\n * Headline tournament stats: winner vs baseline DPS, phases completed, totals.\n */\nexport interface TournamentStatsView {\n winner_dps: number;\n baseline_dps: number;\n dps_gain: number;\n dps_gain_pct: number | undefined;\n total_permutations: number;\n total_iterations: number;\n phases_completed: number;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for TournamentStatsView
impl RefUnwindSafe for TournamentStatsView
impl Send for TournamentStatsView
impl Sync for TournamentStatsView
impl Unpin for TournamentStatsView
impl UnsafeUnpin for TournamentStatsView
impl UnwindSafe for TournamentStatsView
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