pub struct ProgressBar(/* private fields */);
Expand description
A progress bar that is controlled by code
Implementations§
Source§impl ProgressBar
impl ProgressBar
pub fn new<S: ToString>( len: u64, message: S, ) -> Result<ProgressBar, InteractionError>
pub fn inc(&self, delta: u64)
Trait Implementations§
Source§impl Clone for ProgressBar
impl Clone for ProgressBar
Auto Trait Implementations§
impl Freeze for ProgressBar
impl !RefUnwindSafe for ProgressBar
impl Send for ProgressBar
impl !Sync for ProgressBar
impl Unpin for ProgressBar
impl !UnwindSafe for ProgressBar
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