pub struct Stats {
games_num: usize,
games_per_second: Vec<(f32, usize)>,
rounds_num: Vec<u32>,
start_time: NaiveTime,
top_scores: Vec<u32>,
winners: FxHashMap<PlayerId, u32>,
}
Fields§
§games_num: usize
§games_per_second: Vec<(f32, usize)>
§rounds_num: Vec<u32>
§start_time: NaiveTime
§top_scores: Vec<u32>
§winners: FxHashMap<PlayerId, u32>
Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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