pub struct Progress<'a> {
pub what: &'a str,
pub done: usize,
pub total: usize,
}Expand description
How far a computation is.
Fields§
§what: &'a strWhat it is doing.
done: usize§total: usizeTrait Implementations§
impl<'a> Copy for Progress<'a>
impl<'a> Eq for Progress<'a>
impl<'a> StructuralPartialEq for Progress<'a>
Auto Trait Implementations§
impl<'a> Freeze for Progress<'a>
impl<'a> RefUnwindSafe for Progress<'a>
impl<'a> Send for Progress<'a>
impl<'a> Sync for Progress<'a>
impl<'a> Unpin for Progress<'a>
impl<'a> UnsafeUnpin for Progress<'a>
impl<'a> UnwindSafe for Progress<'a>
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