pub enum TaskbarProgress {
None,
Normal(f32),
Paused(f32),
Error(f32),
Indeterminate,
}Expand description
what the taskbar button’s progress bar shows
Variants§
None
no bar
Normal(f32)
done so far (0.0 ..= 1.0)
Paused(f32)
paused at (Windows: yellow)
Error(f32)
failed at (Windows: red)
Indeterminate
busy without a known end (Windows: a moving bar)
Implementations§
Trait Implementations§
Source§impl Clone for TaskbarProgress
impl Clone for TaskbarProgress
Source§fn clone(&self) -> TaskbarProgress
fn clone(&self) -> TaskbarProgress
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 moreimpl Copy for TaskbarProgress
Source§impl Debug for TaskbarProgress
impl Debug for TaskbarProgress
Source§impl Default for TaskbarProgress
impl Default for TaskbarProgress
Source§fn default() -> TaskbarProgress
fn default() -> TaskbarProgress
Returns the “default value” for a type. Read more
Source§impl PartialEq for TaskbarProgress
impl PartialEq for TaskbarProgress
impl StructuralPartialEq for TaskbarProgress
Auto Trait Implementations§
impl Forget for TaskbarProgress
impl Freeze for TaskbarProgress
impl RefUnwindSafe for TaskbarProgress
impl Send for TaskbarProgress
impl Sync for TaskbarProgress
impl Unpin for TaskbarProgress
impl UnsafeUnpin for TaskbarProgress
impl UnwindSafe for TaskbarProgress
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