Enum winit::window::UserAttentionType[][src]

pub enum UserAttentionType {
    Critical,
    Informational,
}

Platform-specific

  • X11: Sets the WM’s XUrgencyHint. No distinction between Critical and Informational.

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

impl Clone for UserAttentionType[src]

impl Copy for UserAttentionType[src]

impl Debug for UserAttentionType[src]

impl Default for UserAttentionType[src]

impl PartialEq<UserAttentionType> for UserAttentionType[src]

impl StructuralPartialEq for UserAttentionType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.