Struct objc2_ui_kit::UIEventSubtype
source · #[repr(transparent)]pub struct UIEventSubtype(pub NSInteger);
Available on crate feature
UIEvent
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl UIEventSubtype
impl UIEventSubtype
pub const None: Self = _
pub const MotionShake: Self = _
pub const RemoteControlPlay: Self = _
pub const RemoteControlPause: Self = _
pub const RemoteControlStop: Self = _
pub const RemoteControlTogglePlayPause: Self = _
pub const RemoteControlNextTrack: Self = _
pub const RemoteControlPreviousTrack: Self = _
pub const RemoteControlBeginSeekingBackward: Self = _
pub const RemoteControlEndSeekingBackward: Self = _
pub const RemoteControlBeginSeekingForward: Self = _
pub const RemoteControlEndSeekingForward: Self = _
Trait Implementations§
source§impl Clone for UIEventSubtype
impl Clone for UIEventSubtype
source§fn clone(&self) -> UIEventSubtype
fn clone(&self) -> UIEventSubtype
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 UIEventSubtype
impl Debug for UIEventSubtype
source§impl Encode for UIEventSubtype
impl Encode for UIEventSubtype
source§impl Hash for UIEventSubtype
impl Hash for UIEventSubtype
source§impl Ord for UIEventSubtype
impl Ord for UIEventSubtype
source§fn cmp(&self, other: &UIEventSubtype) -> Ordering
fn cmp(&self, other: &UIEventSubtype) -> 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 UIEventSubtype
impl PartialEq for UIEventSubtype
source§fn eq(&self, other: &UIEventSubtype) -> bool
fn eq(&self, other: &UIEventSubtype) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UIEventSubtype
impl PartialOrd for UIEventSubtype
source§fn partial_cmp(&self, other: &UIEventSubtype) -> Option<Ordering>
fn partial_cmp(&self, other: &UIEventSubtype) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for UIEventSubtype
impl RefEncode for UIEventSubtype
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 UIEventSubtype
impl Eq for UIEventSubtype
impl StructuralPartialEq for UIEventSubtype
Auto Trait Implementations§
impl Freeze for UIEventSubtype
impl RefUnwindSafe for UIEventSubtype
impl Send for UIEventSubtype
impl Sync for UIEventSubtype
impl Unpin for UIEventSubtype
impl UnwindSafe for UIEventSubtype
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> 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.