Function lazy_pbar::pbar_sized
source · [−]pub fn pbar_sized<I: ProgressIterator>(it: I, len: usize) -> ProgressBarIter<I>
Expand description
A very lazy wrapper for any ProgressIterator.
Looks nice enough as a default.
Style heavily borrowing from tqdm.
Example:
use lazy_pbar::pbar_sized;
for i in pbar_sized(0..1_000_000, 1_000_000) {
// Do whatever
}