Trait yapb::Progress

source ·
pub trait Progress: Display {
    fn set(&mut self, value: f32);
}
Expand description

Indicators that communicate a proportion of progress towards a known end point

Required Methods

Set the amount of progress

value must be in [0, 1]. Implementations should be trivial, with any complexity deferred to the Display implementation.

Implementors