#[repr(transparent)]pub struct INRelevantShortcutRole(pub NSInteger);Available on crate feature
INRelevantShortcut only.Expand description
The role of the relevant shortcut.
Provides a hint to Siri about the expected user experience.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl INRelevantShortcutRole
impl INRelevantShortcutRole
Sourcepub const Action: Self
pub const Action: Self
The relevant shortcut represents an action that the user may want to perform using your app.
Sourcepub const Information: Self
pub const Information: Self
The relevant shortcut represents information that the user may want to glance at.
Trait Implementations§
Source§impl Clone for INRelevantShortcutRole
impl Clone for INRelevantShortcutRole
Source§fn clone(&self) -> INRelevantShortcutRole
fn clone(&self) -> INRelevantShortcutRole
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 INRelevantShortcutRole
impl Debug for INRelevantShortcutRole
Source§impl Encode for INRelevantShortcutRole
impl Encode for INRelevantShortcutRole
Source§impl Hash for INRelevantShortcutRole
impl Hash for INRelevantShortcutRole
Source§impl Ord for INRelevantShortcutRole
impl Ord for INRelevantShortcutRole
Source§fn cmp(&self, other: &INRelevantShortcutRole) -> Ordering
fn cmp(&self, other: &INRelevantShortcutRole) -> 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 INRelevantShortcutRole
impl PartialEq for INRelevantShortcutRole
Source§impl PartialOrd for INRelevantShortcutRole
impl PartialOrd for INRelevantShortcutRole
Source§impl RefEncode for INRelevantShortcutRole
impl RefEncode for INRelevantShortcutRole
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 INRelevantShortcutRole
impl Eq for INRelevantShortcutRole
impl StructuralPartialEq for INRelevantShortcutRole
Auto Trait Implementations§
impl Freeze for INRelevantShortcutRole
impl RefUnwindSafe for INRelevantShortcutRole
impl Send for INRelevantShortcutRole
impl Sync for INRelevantShortcutRole
impl Unpin for INRelevantShortcutRole
impl UnwindSafe for INRelevantShortcutRole
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.