Struct zzz::ProgressBar [−][src]
pub struct ProgressBar { /* fields omitted */ }Implementations
Constructors.
Builder-style methods.
Replace the config of the progress bar.
Force display as a spinner even if size hints are present.
Value manipulation and access.
Set the progress bar value to a new, absolute value.
This doesn’t automatically redraw the progress-bar.
See set_sync for a thread-safe version.
Add n to the value of the progress bar.
See add_sync for a thread-safe version.
How often has the value been changed since creation?
Set the current task description text.
Synchronized version fo set_message.
Calculate the elapsed time since creation of the progress bar.
Calculate the mean iterations per second since creation of the progress bar.
Calculate the mean progress bar updates per second since creation of the progress bar.
Calculates the progress of a rolling timer.
Returned values are always between 0 and 1. Timers are calculated from the start of the progress bar.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ProgressBarimpl Send for ProgressBarimpl Sync for ProgressBarimpl Unpin for ProgressBarimpl !UnwindSafe for ProgressBar