[][src]Struct wasm_pack::progressbar::Step

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]

pub fn new(total: usize) -> Step
[src]

Construct a Step where there are total number of steps.

pub fn inc(&mut self)
[src]

Increment the current step.

Trait Implementations

impl Display for Step
[src]

Auto Trait Implementations

impl Send for Step

impl Sync for Step

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

πŸ”¬ This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

πŸ”¬ This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T