Enum egui::UserAttentionType
source · 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§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 ==
.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