pub struct FightMetrics { /* private fields */ }Expand description
The collector. One instance per FightSim.
Implementations§
Source§impl FightMetrics
impl FightMetrics
Sourcepub fn summary(&self, player_id: Option<EntityId>) -> FightMetricsSummary
pub fn summary(&self, player_id: Option<EntityId>) -> FightMetricsSummary
Structured, serde-serializable snapshot for the sim harness / tests.
player_id selects the hero breakout.
Trait Implementations§
Source§impl Clone for FightMetrics
impl Clone for FightMetrics
Source§fn clone(&self) -> FightMetrics
fn clone(&self) -> FightMetrics
Returns a copy 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 FightMetrics
impl Debug for FightMetrics
Source§impl Default for FightMetrics
impl Default for FightMetrics
Source§fn default() -> FightMetrics
fn default() -> FightMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FightMetrics
impl RefUnwindSafe for FightMetrics
impl Send for FightMetrics
impl Sync for FightMetrics
impl Unpin for FightMetrics
impl UnwindSafe for FightMetrics
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