pub trait __stati_IsBar {
    fn done(&mut self);
fn is_done(&self) -> bool;
fn display(&mut self) -> String;
fn close_method(&self) -> BarCloseMethod; }
Expand description

Functions that a progress bar should implement, like SimpleBar

this does NOT encompass all things a bar needs, and you should add more methods for setting progress, initiating the bar, etc.

Required methods

Finishes the Bar, allowing it to be finalized and dropped by the manager. the bar should not be used after this is called

Checks if the Bar is done (IsBar::done as been called)

Formats the Bar into a string. this is generaly only used by the BarManager

Implementors