pub enum UserAttentionType {
Critical,
Informational,
Reset,
}
Expand description
Types of attention to request from a user when a native window is not in focus.
See winit’s documentation for platform-specific meaning of the attention types.
Variants§
Critical
Request an elevated amount of animations and flair for the window and the task bar or dock icon.
Informational
Request a standard amount of attention-grabbing actions.
Reset
Reset the attention request and interrupt related animations and flashes.
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<'de> Deserialize<'de> for UserAttentionType
impl<'de> Deserialize<'de> for UserAttentionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UserAttentionType
impl PartialEq for UserAttentionType
Source§impl Serialize for UserAttentionType
impl Serialize for UserAttentionType
impl Copy for UserAttentionType
impl Eq for UserAttentionType
impl StructuralPartialEq for UserAttentionType
Auto Trait Implementations§
impl Freeze for UserAttentionType
impl RefUnwindSafe for UserAttentionType
impl Send for UserAttentionType
impl Sync for UserAttentionType
impl Unpin for UserAttentionType
impl UnwindSafe for UserAttentionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more