[−][src]Struct bader::progress::Bar
Contains the indicatif progress bar and an atomic_counter RelaxedCounter. The counter is used to update the bar for use with a rayon iterator
Fields
pbar: Arc<ProgressBar>
An Arc wrapped ProgressBar from indicatif.
Implementations
impl Bar
[src]
pub fn new(progress_bar: ProgressBar, refresh_rate: u64, prefix: String) -> Self
[src]
Creates the Bar struct with a size, refresh_rate and prefix for the bar
pub fn tick(&self)
[src]
tick the progress bar
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnwindSafe for Bar
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,