Enum wry::application::window::UserAttentionType [−][src]
#[non_exhaustive] pub enum UserAttentionType { Critical, Informational, }
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Platform-specific
- macOS: Bounces the dock icon until the application is in focus.
- Windows: Flashes both the window and the taskbar button until the application is in focus.
Platform-specific
- macOS: Bounces the dock icon once.
- Windows: Flashes the taskbar button until the application is in focus.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for UserAttentionType
impl Send for UserAttentionType
impl Sync for UserAttentionType
impl Unpin for UserAttentionType
impl UnwindSafe for UserAttentionType
Blanket Implementations
Mutably borrows from an owned value. Read more