#[repr(transparent)]pub struct HMEventTriggerActivationState(pub NSUInteger);Available on crate feature
HMEventTriggerActivationState only.Expand description
This enumeration describes the current activation state of the event trigger.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl HMEventTriggerActivationState
impl HMEventTriggerActivationState
Sourcepub const DisabledNoHomeHub: Self
pub const DisabledNoHomeHub: Self
Trigger is not active because there is no HomeHub
Sourcepub const DisabledNoCompatibleHomeHub: Self
pub const DisabledNoCompatibleHomeHub: Self
Trigger is not active because there is no compatible HomeHub
Sourcepub const DisabledNoLocationServicesAuthorization: Self
pub const DisabledNoLocationServicesAuthorization: Self
Trigger is not active because Location Authorization has been turned off by user
Trait Implementations§
Source§impl Clone for HMEventTriggerActivationState
impl Clone for HMEventTriggerActivationState
Source§fn clone(&self) -> HMEventTriggerActivationState
fn clone(&self) -> HMEventTriggerActivationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HMEventTriggerActivationState
impl Eq for HMEventTriggerActivationState
Source§impl Hash for HMEventTriggerActivationState
impl Hash for HMEventTriggerActivationState
Source§impl Ord for HMEventTriggerActivationState
impl Ord for HMEventTriggerActivationState
Source§fn cmp(&self, other: &HMEventTriggerActivationState) -> Ordering
fn cmp(&self, other: &HMEventTriggerActivationState) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for HMEventTriggerActivationState
impl PartialOrd for HMEventTriggerActivationState
Source§impl RefEncode for HMEventTriggerActivationState
impl RefEncode for HMEventTriggerActivationState
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl StructuralPartialEq for HMEventTriggerActivationState
Auto Trait Implementations§
impl Freeze for HMEventTriggerActivationState
impl RefUnwindSafe for HMEventTriggerActivationState
impl Send for HMEventTriggerActivationState
impl Sync for HMEventTriggerActivationState
impl Unpin for HMEventTriggerActivationState
impl UnsafeUnpin for HMEventTriggerActivationState
impl UnwindSafe for HMEventTriggerActivationState
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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.