pub struct Value {
pub step: StepShared,
pub done_at: Option<Step>,
pub unit: Option<Unit>,
pub state: State,
}
Expand description
Progress associated with some item in the progress tree.
Fields§
§step: StepShared
The amount of progress currently made
done_at: Option<Step>
The step at which no further progress has to be made.
If unset, the progress is unbounded.
unit: Option<Unit>
The unit associated with the progress.
state: State
Whether progress can be made or not
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl !UnwindSafe for Value
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