pub struct Progress { /* private fields */ }Expand description
Handle returned by show_progress.
Implementations§
Source§impl Progress
impl Progress
Sourcepub fn advance(&self) -> u32
pub fn advance(&self) -> u32
Advances a determinate bar by one step and returns the new step count.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Progress
impl !UnwindSafe for Progress
impl Forget for Progress
impl Freeze for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
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