pub struct Summary {Show 14 fields
pub wpm: f64,
pub wps: f64,
pub snapshots: WpmSnapshots,
pub accuracy: f64,
pub consistency: f64,
pub total_chars: usize,
pub total_words: usize,
pub total_errors: usize,
pub correct_chars: usize,
pub elapsed_time: Duration,
pub total_paused_time: Duration,
pub completed_words: usize,
pub progress: f64,
pub is_completed: bool,
}Fields§
§wpm: f64§wps: f64§snapshots: WpmSnapshots§accuracy: f64§consistency: f64§total_chars: usize§total_words: usize§total_errors: usize§correct_chars: usize§elapsed_time: Duration§total_paused_time: Duration§completed_words: usize§progress: f64§is_completed: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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