#[repr(transparent)]pub struct ARRaycastTarget(pub NSInteger);Available on crate features
ARRaycastQuery and objc2 only.Expand description
A value describing the target of a ray used for raycasting.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ARRaycastTarget
impl ARRaycastTarget
Sourcepub const ExistingPlaneGeometry: Self
pub const ExistingPlaneGeometry: Self
Ray’s target is an already detected plane, considering the plane’s estimated size and shape.
Sourcepub const ExistingPlaneInfinite: Self
pub const ExistingPlaneInfinite: Self
Ray’s target is an already detected plane, without considering the plane’s size.
Sourcepub const EstimatedPlane: Self
pub const EstimatedPlane: Self
Ray’s target is a plane that is estimated using the feature points around the ray. When alignment is ARRaycastTargetAlignmentAny, alignment of estimated planes is based on the normal of the real world surface corresponding to the estimated plane.
Trait Implementations§
Source§impl Clone for ARRaycastTarget
impl Clone for ARRaycastTarget
Source§fn clone(&self) -> ARRaycastTarget
fn clone(&self) -> ARRaycastTarget
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 ARRaycastTarget
impl Debug for ARRaycastTarget
Source§impl Encode for ARRaycastTarget
impl Encode for ARRaycastTarget
Source§impl Hash for ARRaycastTarget
impl Hash for ARRaycastTarget
Source§impl Ord for ARRaycastTarget
impl Ord for ARRaycastTarget
Source§fn cmp(&self, other: &ARRaycastTarget) -> Ordering
fn cmp(&self, other: &ARRaycastTarget) -> 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 ARRaycastTarget
impl PartialEq for ARRaycastTarget
Source§impl PartialOrd for ARRaycastTarget
impl PartialOrd for ARRaycastTarget
Source§impl RefEncode for ARRaycastTarget
impl RefEncode for ARRaycastTarget
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 ARRaycastTarget
impl Eq for ARRaycastTarget
impl StructuralPartialEq for ARRaycastTarget
Auto Trait Implementations§
impl Freeze for ARRaycastTarget
impl RefUnwindSafe for ARRaycastTarget
impl Send for ARRaycastTarget
impl Sync for ARRaycastTarget
impl Unpin for ARRaycastTarget
impl UnwindSafe for ARRaycastTarget
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.