pub struct LapInfo { /* private fields */ }Expand description
A struct representing lap information.
Implementations§
Source§impl LapInfo
impl LapInfo
Sourcepub fn elapsed_times(&self) -> Vec<Duration>
pub fn elapsed_times(&self) -> Vec<Duration>
Returns elapsed times of laps since typing started.
Sourcepub fn key_stroke_lap_end_positions(&self) -> Vec<usize>
pub fn key_stroke_lap_end_positions(&self) -> Vec<usize>
Returns position indexes of lap ends for key stroke.
Sourcepub fn spell_lap_end_positions(&self) -> Vec<usize>
pub fn spell_lap_end_positions(&self) -> Vec<usize>
Returns position indexes of lap ends for spell.
Sourcepub fn chunk_lap_end_positions(&self) -> Vec<usize>
pub fn chunk_lap_end_positions(&self) -> Vec<usize>
Returns position indexes of lap ends for chunk.
Sourcepub fn view_lap_end_positions(&self) -> Vec<usize>
pub fn view_lap_end_positions(&self) -> Vec<usize>
Returns position indexes of lap ends for view.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LapInfo
impl<'de> Deserialize<'de> for LapInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LapInfo
impl StructuralPartialEq for LapInfo
Auto Trait Implementations§
impl Freeze for LapInfo
impl RefUnwindSafe for LapInfo
impl Send for LapInfo
impl Sync for LapInfo
impl Unpin for LapInfo
impl UnwindSafe for LapInfo
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