pub struct StopwatchData {
pub elapsed: Duration,
pub pause_moments: Vec<DateTime<Local>>,
pub start_moments: Vec<DateTime<Local>>,
pub lap_moments: Vec<DateTime<Local>>,
pub laps: Vec<Duration>,
}Expand description
The data returned by Stopwatch upon .stopping (i.e. resetting)
Fields§
§elapsed: Duration§pause_moments: Vec<DateTime<Local>>§start_moments: Vec<DateTime<Local>>§lap_moments: Vec<DateTime<Local>>§laps: Vec<Duration>Implementations§
Trait Implementations§
Source§impl Debug for StopwatchData
impl Debug for StopwatchData
Auto Trait Implementations§
impl Freeze for StopwatchData
impl RefUnwindSafe for StopwatchData
impl Send for StopwatchData
impl Sync for StopwatchData
impl Unpin for StopwatchData
impl UnwindSafe for StopwatchData
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