pub trait __stati_IteratorProgress {
    fn set_progress(&mut self, progress: usize);
fn set_size_hint(&mut self, max: usize); }
Expand description

simple API for use by the progress bar iterator ProgressTracker

Required methods

Sets the current progress (number of items iterated through)

sets a hint for the maximum value set_progress will ever reach

implementations should be able to assume that any value passed to set_progress is smaller or equal to the latest value passed to this

Implementors