pub struct ShortIntervalsInfo {
pub count: usize,
pub total_duration: Duration,
pub intervals: Vec<(usize, WorkInterval)>,
pub pauses_to_remove: Vec<usize>,
}Expand description
What fell under the short-interval threshold, and which pauses would have to go to merge the fragments back together.
Fields§
§count: usize§total_duration: DurationCombined length of all short intervals.
intervals: Vec<(usize, WorkInterval)>(index in the original interval list, interval) pairs.
pauses_to_remove: Vec<usize>Pause indices whose removal would merge each short interval into its predecessor; empty when only display filtering was requested.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShortIntervalsInfo
impl RefUnwindSafe for ShortIntervalsInfo
impl Send for ShortIntervalsInfo
impl Sync for ShortIntervalsInfo
impl Unpin for ShortIntervalsInfo
impl UnsafeUnpin for ShortIntervalsInfo
impl UnwindSafe for ShortIntervalsInfo
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