#[repr(i64)]pub enum UNNotificationInterruptionLevel {
Passive = 0,
Active = 1,
TimeSensitive = 2,
Critical = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for UNNotificationInterruptionLevel
impl Clone for UNNotificationInterruptionLevel
Source§fn clone(&self) -> UNNotificationInterruptionLevel
fn clone(&self) -> UNNotificationInterruptionLevel
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 Ord for UNNotificationInterruptionLevel
impl Ord for UNNotificationInterruptionLevel
Source§fn cmp(&self, other: &UNNotificationInterruptionLevel) -> Ordering
fn cmp(&self, other: &UNNotificationInterruptionLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UNNotificationInterruptionLevel
impl PartialEq for UNNotificationInterruptionLevel
Source§fn eq(&self, other: &UNNotificationInterruptionLevel) -> bool
fn eq(&self, other: &UNNotificationInterruptionLevel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for UNNotificationInterruptionLevel
impl PartialOrd for UNNotificationInterruptionLevel
impl Copy for UNNotificationInterruptionLevel
impl Eq for UNNotificationInterruptionLevel
impl StructuralPartialEq for UNNotificationInterruptionLevel
Auto Trait Implementations§
impl Freeze for UNNotificationInterruptionLevel
impl RefUnwindSafe for UNNotificationInterruptionLevel
impl Send for UNNotificationInterruptionLevel
impl Sync for UNNotificationInterruptionLevel
impl Unpin for UNNotificationInterruptionLevel
impl UnwindSafe for UNNotificationInterruptionLevel
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