#[repr(transparent)]pub struct ARTrackingStateReason(pub NSInteger);Available on crate features
ARTrackingStatusTypes and objc2 only.Expand description
A reason describing why the camera’s tracking state is limited.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ARTrackingStateReason
impl ARTrackingStateReason
Sourcepub const Initializing: Self
pub const Initializing: Self
Tracking is limited due to initialization in progress.
Sourcepub const ExcessiveMotion: Self
pub const ExcessiveMotion: Self
Tracking is limited due to a excessive motion of the camera.
Sourcepub const InsufficientFeatures: Self
pub const InsufficientFeatures: Self
Tracking is limited due to a lack of features visible to the camera.
Sourcepub const Relocalizing: Self
pub const Relocalizing: Self
Tracking is limited due to a relocalization in progress.
Trait Implementations§
Source§impl Clone for ARTrackingStateReason
impl Clone for ARTrackingStateReason
Source§fn clone(&self) -> ARTrackingStateReason
fn clone(&self) -> ARTrackingStateReason
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 ARTrackingStateReason
impl Debug for ARTrackingStateReason
Source§impl Encode for ARTrackingStateReason
impl Encode for ARTrackingStateReason
Source§impl Hash for ARTrackingStateReason
impl Hash for ARTrackingStateReason
Source§impl Ord for ARTrackingStateReason
impl Ord for ARTrackingStateReason
Source§fn cmp(&self, other: &ARTrackingStateReason) -> Ordering
fn cmp(&self, other: &ARTrackingStateReason) -> 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 ARTrackingStateReason
impl PartialEq for ARTrackingStateReason
Source§impl PartialOrd for ARTrackingStateReason
impl PartialOrd for ARTrackingStateReason
Source§impl RefEncode for ARTrackingStateReason
impl RefEncode for ARTrackingStateReason
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 ARTrackingStateReason
impl Eq for ARTrackingStateReason
impl StructuralPartialEq for ARTrackingStateReason
Auto Trait Implementations§
impl Freeze for ARTrackingStateReason
impl RefUnwindSafe for ARTrackingStateReason
impl Send for ARTrackingStateReason
impl Sync for ARTrackingStateReason
impl Unpin for ARTrackingStateReason
impl UnwindSafe for ARTrackingStateReason
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.