Struct indicatif::WeakProgressBar [−][src]
pub struct WeakProgressBar { /* fields omitted */ }
Expand description
A weak reference to a ProgressBar
.
Useful for creating custom steady tick implementations
Implementations
Create a new WeakProgressBar
that returns None
when upgrade
is called.
Attempts to upgrade the Weak pointer to a ProgressBar
, delaying dropping of the inner
value if successful. Returns None
if the inner value has since been dropped.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for WeakProgressBar
impl Send for WeakProgressBar
impl Sync for WeakProgressBar
impl Unpin for WeakProgressBar
impl UnwindSafe for WeakProgressBar
Blanket Implementations
Mutably borrows from an owned value. Read more