pub const fn invert<I>(
progress: I,
total_size: u64,
window: u64,
) -> InvertIter<I> ⓘwhere
I: Iterator<Item = ProgressEntry>,Expand description
window: when a ProgressEntry length is less than window, it is merged into the gap to reduce progress fragmentation.