#[repr(u64)]pub enum UNNotificationCategoryOptions {
None = 0,
CustomDismissAction = 1,
AllowInCarPlay = 2,
HiddenPreviewsShowTitle = 4,
HiddenPreviewsShowSubtitle = 8,
AllowAnnouncement = 16,
}
Variants§
None = 0
CustomDismissAction = 1
AllowInCarPlay = 2
HiddenPreviewsShowTitle = 4
HiddenPreviewsShowSubtitle = 8
AllowAnnouncement = 16
👎Deprecated
Trait Implementations§
Source§impl Clone for UNNotificationCategoryOptions
impl Clone for UNNotificationCategoryOptions
Source§fn clone(&self) -> UNNotificationCategoryOptions
fn clone(&self) -> UNNotificationCategoryOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ord for UNNotificationCategoryOptions
impl Ord for UNNotificationCategoryOptions
Source§fn cmp(&self, other: &UNNotificationCategoryOptions) -> Ordering
fn cmp(&self, other: &UNNotificationCategoryOptions) -> 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 UNNotificationCategoryOptions
impl PartialEq for UNNotificationCategoryOptions
Source§fn eq(&self, other: &UNNotificationCategoryOptions) -> bool
fn eq(&self, other: &UNNotificationCategoryOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for UNNotificationCategoryOptions
impl PartialOrd for UNNotificationCategoryOptions
impl Copy for UNNotificationCategoryOptions
impl Eq for UNNotificationCategoryOptions
impl StructuralPartialEq for UNNotificationCategoryOptions
Auto Trait Implementations§
impl Freeze for UNNotificationCategoryOptions
impl RefUnwindSafe for UNNotificationCategoryOptions
impl Send for UNNotificationCategoryOptions
impl Sync for UNNotificationCategoryOptions
impl Unpin for UNNotificationCategoryOptions
impl UnwindSafe for UNNotificationCategoryOptions
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