#[repr(transparent)]pub struct UNNotificationContentExtensionMediaPlayPauseButtonType(pub NSUInteger);
Available on crate feature
UNNotificationContentExtension
only.Expand description
Constants indicating the type of media button to display.
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl UNNotificationContentExtensionMediaPlayPauseButtonType
impl UNNotificationContentExtensionMediaPlayPauseButtonType
Sourcepub const None: Self
pub const None: Self
No media button.
Specify this option when you don’t want a media button. This is the default option.
Trait Implementations§
Source§impl Clone for UNNotificationContentExtensionMediaPlayPauseButtonType
impl Clone for UNNotificationContentExtensionMediaPlayPauseButtonType
Source§fn clone(&self) -> UNNotificationContentExtensionMediaPlayPauseButtonType
fn clone(&self) -> UNNotificationContentExtensionMediaPlayPauseButtonType
Returns a duplicate 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 UNNotificationContentExtensionMediaPlayPauseButtonType
impl Ord for UNNotificationContentExtensionMediaPlayPauseButtonType
Source§fn cmp(
&self,
other: &UNNotificationContentExtensionMediaPlayPauseButtonType,
) -> Ordering
fn cmp( &self, other: &UNNotificationContentExtensionMediaPlayPauseButtonType, ) -> 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 UNNotificationContentExtensionMediaPlayPauseButtonType
impl PartialEq for UNNotificationContentExtensionMediaPlayPauseButtonType
Source§fn eq(
&self,
other: &UNNotificationContentExtensionMediaPlayPauseButtonType,
) -> bool
fn eq( &self, other: &UNNotificationContentExtensionMediaPlayPauseButtonType, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for UNNotificationContentExtensionMediaPlayPauseButtonType
impl PartialOrd for UNNotificationContentExtensionMediaPlayPauseButtonType
Source§impl RefEncode for UNNotificationContentExtensionMediaPlayPauseButtonType
impl RefEncode for UNNotificationContentExtensionMediaPlayPauseButtonType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for UNNotificationContentExtensionMediaPlayPauseButtonType
impl Eq for UNNotificationContentExtensionMediaPlayPauseButtonType
impl StructuralPartialEq for UNNotificationContentExtensionMediaPlayPauseButtonType
Auto Trait Implementations§
impl Freeze for UNNotificationContentExtensionMediaPlayPauseButtonType
impl RefUnwindSafe for UNNotificationContentExtensionMediaPlayPauseButtonType
impl Send for UNNotificationContentExtensionMediaPlayPauseButtonType
impl Sync for UNNotificationContentExtensionMediaPlayPauseButtonType
impl Unpin for UNNotificationContentExtensionMediaPlayPauseButtonType
impl UnwindSafe for UNNotificationContentExtensionMediaPlayPauseButtonType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.