#[repr(transparent)]pub struct WKHapticType(pub NSInteger);Available on crate feature
WKInterfaceDevice only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl WKHapticType
impl WKHapticType
pub const Notification: Self
pub const DirectionUp: Self
pub const DirectionDown: Self
pub const Success: Self
pub const Failure: Self
pub const Retry: Self
pub const Start: Self
pub const Stop: Self
pub const Click: Self
pub const UnderwaterDepthPrompt: Self
pub const UnderwaterDepthCriticalPrompt: Self
Trait Implementations§
Source§impl Clone for WKHapticType
impl Clone for WKHapticType
Source§fn clone(&self) -> WKHapticType
fn clone(&self) -> WKHapticType
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 WKHapticType
impl Debug for WKHapticType
Source§impl Encode for WKHapticType
impl Encode for WKHapticType
Source§impl Hash for WKHapticType
impl Hash for WKHapticType
Source§impl Ord for WKHapticType
impl Ord for WKHapticType
Source§fn cmp(&self, other: &WKHapticType) -> Ordering
fn cmp(&self, other: &WKHapticType) -> 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 WKHapticType
impl PartialEq for WKHapticType
Source§impl PartialOrd for WKHapticType
impl PartialOrd for WKHapticType
Source§impl RefEncode for WKHapticType
impl RefEncode for WKHapticType
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 WKHapticType
impl Eq for WKHapticType
impl StructuralPartialEq for WKHapticType
Auto Trait Implementations§
impl Freeze for WKHapticType
impl RefUnwindSafe for WKHapticType
impl Send for WKHapticType
impl Sync for WKHapticType
impl Unpin for WKHapticType
impl UnwindSafe for WKHapticType
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.