#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UNNotificationCategoryOptions
impl Eq for UNNotificationCategoryOptions
Source§impl Ord for UNNotificationCategoryOptions
impl Ord for UNNotificationCategoryOptions
Source§fn cmp(&self, other: &UNNotificationCategoryOptions) -> Ordering
fn cmp(&self, other: &UNNotificationCategoryOptions) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for UNNotificationCategoryOptions
impl PartialOrd 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 UnsafeUnpin 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