pub struct LapInfo { /* private fields */ }
Expand description
Stores the start time within the recording and the time of a lap.
Please not the difference between the lap index (.idx()
), which starts at
0 and indicates the lap position within the collection of laps, and the lap
number (.number()
), which is the counter and which is what is used in
common parlance and starts at 1. In other words, .number()
will always
return .idx() + 1
.
Implementations
Trait Implementations
impl Copy for LapInfo
impl StructuralPartialEq for LapInfo
Auto Trait Implementations
impl RefUnwindSafe for LapInfo
impl Send for LapInfo
impl Sync for LapInfo
impl Unpin for LapInfo
impl UnwindSafe for LapInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more