#[repr(transparent)]pub struct UIPressType(pub NSInteger);
Available on crate feature
UIPress
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl UIPressType
impl UIPressType
pub const UpArrow: Self
pub const DownArrow: Self
pub const LeftArrow: Self
pub const RightArrow: Self
pub const Select: Self
pub const Menu: Self
pub const PlayPause: Self
pub const PageUp: Self
pub const PageDown: Self
Sourcepub const TVRemoteOneTwoThree: Self
pub const TVRemoteOneTwoThree: Self
Represents a button on a TV remote labeled with 123. When this button is pressed, an app should provide UI to enter a specific channel number if channel numbers are available. If no channel numbers exist the app should provide UI to toggle channel category filters, search for channels by name or search for currently airing shows.
Sourcepub const TVRemoteFourColors: Self
pub const TVRemoteFourColors: Self
Represents a button on a TV remote labeled with four colors, analogous to the four separate color buttons found on some TV remotes. When this button is pressed, an app should perform the appropriate color action or if there are multiple color actions available provide UI to choose the specific color.
Trait Implementations§
Source§impl Clone for UIPressType
impl Clone for UIPressType
Source§fn clone(&self) -> UIPressType
fn clone(&self) -> UIPressType
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 Debug for UIPressType
impl Debug for UIPressType
Source§impl Encode for UIPressType
impl Encode for UIPressType
Source§impl Hash for UIPressType
impl Hash for UIPressType
Source§impl Ord for UIPressType
impl Ord for UIPressType
Source§fn cmp(&self, other: &UIPressType) -> Ordering
fn cmp(&self, other: &UIPressType) -> 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 UIPressType
impl PartialEq for UIPressType
Source§impl PartialOrd for UIPressType
impl PartialOrd for UIPressType
Source§impl RefEncode for UIPressType
impl RefEncode for UIPressType
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 UIPressType
impl Eq for UIPressType
impl StructuralPartialEq for UIPressType
Auto Trait Implementations§
impl Freeze for UIPressType
impl RefUnwindSafe for UIPressType
impl Send for UIPressType
impl Sync for UIPressType
impl Unpin for UIPressType
impl UnwindSafe for UIPressType
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.