Enum glutin::platform::macos::RequestUserAttentionType
source · pub enum RequestUserAttentionType {
Critical,
Informational,
}
Expand description
Corresponds to NSRequestUserAttentionType
.
Variants§
Critical
Corresponds to NSCriticalRequest
.
Dock icon will bounce until the application is focused.
Informational
Corresponds to NSInformationalRequest
.
Dock icon will bounce once.
Trait Implementations§
source§impl Clone for RequestUserAttentionType
impl Clone for RequestUserAttentionType
source§fn clone(&self) -> RequestUserAttentionType
fn clone(&self) -> RequestUserAttentionType
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 RequestUserAttentionType
impl Debug for RequestUserAttentionType
source§impl Default for RequestUserAttentionType
impl Default for RequestUserAttentionType
source§fn default() -> RequestUserAttentionType
fn default() -> RequestUserAttentionType
Returns the “default value” for a type. Read more
source§impl PartialEq<RequestUserAttentionType> for RequestUserAttentionType
impl PartialEq<RequestUserAttentionType> for RequestUserAttentionType
source§fn eq(&self, other: &RequestUserAttentionType) -> bool
fn eq(&self, other: &RequestUserAttentionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RequestUserAttentionType
impl StructuralPartialEq for RequestUserAttentionType
Auto Trait Implementations§
impl RefUnwindSafe for RequestUserAttentionType
impl Send for RequestUserAttentionType
impl Sync for RequestUserAttentionType
impl Unpin for RequestUserAttentionType
impl UnwindSafe for RequestUserAttentionType
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