Enum raui_app::window::UserAttentionType
pub enum UserAttentionType {
Critical,
Informational,
}Expand description
Platform-specific
- X11: Sets the WM’s
XUrgencyHint. No distinction betweenCriticalandInformational.
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
impl Clone for UserAttentionType
§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 more§impl Debug for UserAttentionType
impl Debug for UserAttentionType
§impl Default for UserAttentionType
impl Default for UserAttentionType
§fn default() -> UserAttentionType
fn default() -> UserAttentionType
Returns the “default value” for a type. Read more
§impl PartialEq for UserAttentionType
impl PartialEq for UserAttentionType
§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 ==.impl Copy for UserAttentionType
impl StructuralPartialEq for UserAttentionType
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§
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().