pub enum ProgressKind {
Determinate(Prop<f32>),
Indeterminate,
}Variants§
Determinate(Prop<f32>)
A determinate bar fills proportionally to a Prop<f32> in
[0.0, 1.0].
Indeterminate
An indeterminate bar — the recipe paints only the track; the
ProgressBar widget mounts the sweep on top.
Trait Implementations§
Source§impl Clone for ProgressKind
impl Clone for ProgressKind
Source§fn clone(&self) -> ProgressKind
fn clone(&self) -> ProgressKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ProgressKind
impl !Send for ProgressKind
impl !Sync for ProgressKind
impl !UnwindSafe for ProgressKind
impl Freeze for ProgressKind
impl Unpin for ProgressKind
impl UnsafeUnpin for ProgressKind
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