pub struct NestedProgress { /* private fields */ }Expand description
A simple nested progress structure.
Implementations§
Source§impl NestedProgress
impl NestedProgress
Sourcepub fn add_child(
&mut self,
description: impl Into<String>,
total: u64,
) -> &mut NestedProgress
pub fn add_child( &mut self, description: impl Into<String>, total: u64, ) -> &mut NestedProgress
Add a child progress.
Sourcepub fn child_count(&self) -> usize
pub fn child_count(&self) -> usize
Get the number of children.
Auto Trait Implementations§
impl Freeze for NestedProgress
impl RefUnwindSafe for NestedProgress
impl Send for NestedProgress
impl Sync for NestedProgress
impl Unpin for NestedProgress
impl UnwindSafe for NestedProgress
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