Enum winit::window::UserAttentionType
source · pub enum UserAttentionType {
Critical,
Informational,
}
Expand description
Platform-specific
- X11: Sets the WM’s
XUrgencyHint
. No distinction betweenCritical
andInformational
.
Variants§
Critical
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.
Informational
Platform-specific
- macOS: Bounces the dock icon once.
- Windows: Flashes the taskbar button until the application is in focus.
Trait Implementations§
source§impl Clone for UserAttentionType
impl Clone for UserAttentionType
source§fn clone(&self) -> UserAttentionType
fn clone(&self) -> UserAttentionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserAttentionType
impl Debug for UserAttentionType
source§impl Default for UserAttentionType
impl Default for UserAttentionType
source§impl PartialEq<UserAttentionType> for UserAttentionType
impl PartialEq<UserAttentionType> for UserAttentionType
source§fn eq(&self, other: &UserAttentionType) -> bool
fn eq(&self, other: &UserAttentionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.