pub struct OneTimerStatsAccumulator { /* private fields */ }Implementations§
Source§impl OneTimerStatsAccumulator
impl OneTimerStatsAccumulator
pub fn new() -> Self
pub fn player_stats(&self) -> &HashMap<PlayerId, OneTimerPlayerStats>
pub fn team_zero_stats(&self) -> &OneTimerTeamStats
pub fn team_one_stats(&self) -> &OneTimerTeamStats
pub fn begin_sample(&mut self, frame: &FrameInfo)
pub fn clear_current_last(&mut self)
pub fn apply_event(&mut self, frame: &FrameInfo, event: &OneTimerEvent)
pub fn finish_sample(&mut self)
Trait Implementations§
Source§impl Clone for OneTimerStatsAccumulator
impl Clone for OneTimerStatsAccumulator
Source§fn clone(&self) -> OneTimerStatsAccumulator
fn clone(&self) -> OneTimerStatsAccumulator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OneTimerStatsAccumulator
impl Debug for OneTimerStatsAccumulator
Source§impl Default for OneTimerStatsAccumulator
impl Default for OneTimerStatsAccumulator
Source§fn default() -> OneTimerStatsAccumulator
fn default() -> OneTimerStatsAccumulator
Returns the “default value” for a type. Read more
Source§impl PartialEq for OneTimerStatsAccumulator
impl PartialEq for OneTimerStatsAccumulator
Source§fn eq(&self, other: &OneTimerStatsAccumulator) -> bool
fn eq(&self, other: &OneTimerStatsAccumulator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OneTimerStatsAccumulator
Auto Trait Implementations§
impl Freeze for OneTimerStatsAccumulator
impl RefUnwindSafe for OneTimerStatsAccumulator
impl Send for OneTimerStatsAccumulator
impl Sync for OneTimerStatsAccumulator
impl Unpin for OneTimerStatsAccumulator
impl UnsafeUnpin for OneTimerStatsAccumulator
impl UnwindSafe for OneTimerStatsAccumulator
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