Struct wasm_pack::progressbar::Step [−][src]
pub struct Step { /* fields omitted */ }
For processes that can be broken down into N fractional steps, with messages added for each step along the way like
[2/5] Doing the second step out of five.
Methods
impl Step
[src]
impl Step
pub fn new(total: usize) -> Step
[src]
pub fn new(total: usize) -> Step
Construct a Step
where there are total
number of steps.
pub fn inc(&mut self)
[src]
pub fn inc(&mut self)
Increment the current step.