Module prog_rs::iter_progress
source · [−]Expand description
Defines a wrapper arroud iterators to display a progress bar.
Example
use prog_rs::prelude::*;
for _ in (0..1_000)
.progress()
.with_prefix("Processing...")
.with_output_stream(prog_rs::OutputStream::StdErr)
.with_bar_position(prog_rs::BarPosition::Right)
{
do_something();
}
Structs
A wrapper iterator arround another iterator which adds a progress bar.