pub struct NiceProgressBar<T: ExactSizeIterator, const COLOR: char = 'b'>(pub T, pub &'static str);
Expand description
Nice progress bar with over an iterator and a message. COLOR is one of r,g,b
Tuple Fields§
§0: T
§1: &'static str
Trait Implementations§
source§impl<T: ExactSizeIterator, const COLOR: char> IntoIterator for NiceProgressBar<T, COLOR>
impl<T: ExactSizeIterator, const COLOR: char> IntoIterator for NiceProgressBar<T, COLOR>
Auto Trait Implementations§
impl<T, const COLOR: char> Freeze for NiceProgressBar<T, COLOR>where
T: Freeze,
impl<T, const COLOR: char> RefUnwindSafe for NiceProgressBar<T, COLOR>where
T: RefUnwindSafe,
impl<T, const COLOR: char> Send for NiceProgressBar<T, COLOR>where
T: Send,
impl<T, const COLOR: char> Sync for NiceProgressBar<T, COLOR>where
T: Sync,
impl<T, const COLOR: char> Unpin for NiceProgressBar<T, COLOR>where
T: Unpin,
impl<T, const COLOR: char> UnwindSafe for NiceProgressBar<T, COLOR>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more