#[repr(i32)]pub enum ProgressState {
NoProgress = 0,
Indeterminate = 1,
Normal = 2,
Error = 4,
Paused = 8,
}ui only.Expand description
Taskbar progress state animation type.
Variants§
NoProgress = 0
Stops displaying progress and returns the button to its normal state.
Indeterminate = 1
Shows a “working” animation without indicating a completion percentage.
Normal = 2
Shows a progress indicator displaying the amount of work being completed.
Error = 4
The progress indicator turns red to show that an error has occurred. This is a determinate state. If the progress indicator is in the indeterminate state, it switches to a red determinate display of a generic percentage not indicative of actual progress.
Paused = 8
The progress indicator turns yellow to show that progress is currently stopped. This is a determinate state. If the progress indicator is in the indeterminate state, it switches to a yellow determinate display of a generic percentage not indicative of actual progress.
Trait Implementations§
Source§impl Clone for ProgressState
impl Clone for ProgressState
Source§fn clone(&self) -> ProgressState
fn clone(&self) -> ProgressState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ProgressState
Source§impl Debug for ProgressState
impl Debug for ProgressState
Source§impl Default for ProgressState
impl Default for ProgressState
Source§fn default() -> ProgressState
fn default() -> ProgressState
impl Eq for ProgressState
Source§impl From<ProgressState> for TBPFLAG
impl From<ProgressState> for TBPFLAG
Source§fn from(value: ProgressState) -> Self
fn from(value: ProgressState) -> Self
Source§impl From<ProgressState> for i32
impl From<ProgressState> for i32
Source§fn from(enum_value: ProgressState) -> Self
fn from(enum_value: ProgressState) -> Self
Source§impl PartialEq for ProgressState
impl PartialEq for ProgressState
Source§fn eq(&self, other: &ProgressState) -> bool
fn eq(&self, other: &ProgressState) -> bool
self and other values to be equal, and is used by ==.