[][src]Enum winapi_easy::ui::ProgressState

#[repr(u32)]
pub enum ProgressState {
    NoProgress,
    Indeterminate,
    Normal,
    Error,
    Paused,
}

Taskbar progress state animation type.

Variants

NoProgress

Stops displaying progress and returns the button to its normal state.

Indeterminate

Shows a "working" animation without indicating a completion percentage.

Needs animations on the taskbar to be enabled in the OS config, otherwise it will not show anything to the user.

Normal

Shows a progress indicator displaying the amount of work being completed.

Error

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

The progress indicator turns yellow to show that progress is currently stopped. his 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

impl Clone for ProgressState[src]

impl Copy for ProgressState[src]

impl Default for ProgressState[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]