#[repr(transparent)]pub struct CHHapticErrorCode(pub NSInteger);Available on crate feature
CHHapticErrors only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl CHHapticErrorCode
impl CHHapticErrorCode
pub const EngineNotRunning: Self
pub const OperationNotPermitted: Self
pub const EngineStartTimeout: Self
pub const NotSupported: Self
pub const ServerInitFailed: Self
pub const ServerInterrupted: Self
pub const InvalidPatternPlayer: Self
pub const InvalidPatternData: Self
pub const InvalidPatternDictionary: Self
pub const InvalidAudioSession: Self
pub const InvalidEngineParameter: Self
pub const InvalidParameterType: Self
pub const InvalidEventType: Self
pub const InvalidEventTime: Self
pub const InvalidEventDuration: Self
pub const InvalidAudioResource: Self
pub const ResourceNotAvailable: Self
pub const BadEventEntry: Self
pub const BadParameterEntry: Self
pub const InvalidTime: Self
pub const FileNotFound: Self
pub const InsufficientPower: Self
pub const UnknownError: Self
pub const MemoryError: Self
Trait Implementations§
Source§impl Clone for CHHapticErrorCode
impl Clone for CHHapticErrorCode
Source§fn clone(&self) -> CHHapticErrorCode
fn clone(&self) -> CHHapticErrorCode
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 CHHapticErrorCode
impl Debug for CHHapticErrorCode
Source§impl Encode for CHHapticErrorCode
impl Encode for CHHapticErrorCode
Source§impl Hash for CHHapticErrorCode
impl Hash for CHHapticErrorCode
Source§impl Ord for CHHapticErrorCode
impl Ord for CHHapticErrorCode
Source§fn cmp(&self, other: &CHHapticErrorCode) -> Ordering
fn cmp(&self, other: &CHHapticErrorCode) -> 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 CHHapticErrorCode
impl PartialEq for CHHapticErrorCode
Source§impl PartialOrd for CHHapticErrorCode
impl PartialOrd for CHHapticErrorCode
Source§impl RefEncode for CHHapticErrorCode
impl RefEncode for CHHapticErrorCode
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 CHHapticErrorCode
impl Eq for CHHapticErrorCode
impl StructuralPartialEq for CHHapticErrorCode
Auto Trait Implementations§
impl Freeze for CHHapticErrorCode
impl RefUnwindSafe for CHHapticErrorCode
impl Send for CHHapticErrorCode
impl Sync for CHHapticErrorCode
impl Unpin for CHHapticErrorCode
impl UnwindSafe for CHHapticErrorCode
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.