#[repr(transparent)]pub struct ARWorldAlignment(pub NSInteger);Available on crate features
ARConfiguration and objc2 only.Expand description
Enum constants for indicating the world alignment.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ARWorldAlignment
impl ARWorldAlignment
Sourcepub const GravityAndHeading: Self
pub const GravityAndHeading: Self
Aligns the world with gravity that is defined by the vector (0, -1, 0) and heading (w.r.t. True North) that is given by the vector (0, 0, -1).
Trait Implementations§
Source§impl Clone for ARWorldAlignment
impl Clone for ARWorldAlignment
Source§fn clone(&self) -> ARWorldAlignment
fn clone(&self) -> ARWorldAlignment
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 ARWorldAlignment
impl Debug for ARWorldAlignment
Source§impl Encode for ARWorldAlignment
impl Encode for ARWorldAlignment
Source§impl Hash for ARWorldAlignment
impl Hash for ARWorldAlignment
Source§impl Ord for ARWorldAlignment
impl Ord for ARWorldAlignment
Source§fn cmp(&self, other: &ARWorldAlignment) -> Ordering
fn cmp(&self, other: &ARWorldAlignment) -> 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 ARWorldAlignment
impl PartialEq for ARWorldAlignment
Source§impl PartialOrd for ARWorldAlignment
impl PartialOrd for ARWorldAlignment
Source§impl RefEncode for ARWorldAlignment
impl RefEncode for ARWorldAlignment
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 ARWorldAlignment
impl Eq for ARWorldAlignment
impl StructuralPartialEq for ARWorldAlignment
Auto Trait Implementations§
impl Freeze for ARWorldAlignment
impl RefUnwindSafe for ARWorldAlignment
impl Send for ARWorldAlignment
impl Sync for ARWorldAlignment
impl Unpin for ARWorldAlignment
impl UnwindSafe for ARWorldAlignment
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.