pub struct TaskProgress { /* private fields */ }Expand description
Execution progress of a task.
Implementations§
Source§impl TaskProgress
impl TaskProgress
Sourcepub fn current_mut(&mut self) -> &mut u32
pub fn current_mut(&mut self) -> &mut u32
Mutable reference to the current progress.
Gives a shared access to the TaskProgress.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskProgress
impl RefUnwindSafe for TaskProgress
impl Send for TaskProgress
impl !Sync for TaskProgress
impl Unpin for TaskProgress
impl UnwindSafe for TaskProgress
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