Struct openxr_sys::PlaneDetectorOrientationEXT
source · pub struct PlaneDetectorOrientationEXT(/* private fields */);
Expand description
Implementations§
source§impl PlaneDetectorOrientationEXT
impl PlaneDetectorOrientationEXT
sourcepub const HORIZONTAL_UPWARD: PlaneDetectorOrientationEXT = _
pub const HORIZONTAL_UPWARD: PlaneDetectorOrientationEXT = _
The detected plane is horizontal and faces upward (e.g. floor).
sourcepub const HORIZONTAL_DOWNWARD: PlaneDetectorOrientationEXT = _
pub const HORIZONTAL_DOWNWARD: PlaneDetectorOrientationEXT = _
The detected plane is horizontal and faces downward (e.g. ceiling).
sourcepub const VERTICAL: PlaneDetectorOrientationEXT = _
pub const VERTICAL: PlaneDetectorOrientationEXT = _
The detected plane is vertical (e.g. wall).
sourcepub const ARBITRARY: PlaneDetectorOrientationEXT = _
pub const ARBITRARY: PlaneDetectorOrientationEXT = _
The detected plane has an arbitrary, non-vertical and non-horizontal orientation.
pub fn from_raw(x: i32) -> Self
pub fn into_raw(self) -> i32
Trait Implementations§
source§impl Clone for PlaneDetectorOrientationEXT
impl Clone for PlaneDetectorOrientationEXT
source§fn clone(&self) -> PlaneDetectorOrientationEXT
fn clone(&self) -> PlaneDetectorOrientationEXT
Returns a copy 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 PlaneDetectorOrientationEXT
impl Debug for PlaneDetectorOrientationEXT
source§impl PartialEq for PlaneDetectorOrientationEXT
impl PartialEq for PlaneDetectorOrientationEXT
source§fn eq(&self, other: &PlaneDetectorOrientationEXT) -> bool
fn eq(&self, other: &PlaneDetectorOrientationEXT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PlaneDetectorOrientationEXT
impl Eq for PlaneDetectorOrientationEXT
impl StructuralPartialEq for PlaneDetectorOrientationEXT
Auto Trait Implementations§
impl RefUnwindSafe for PlaneDetectorOrientationEXT
impl Send for PlaneDetectorOrientationEXT
impl Sync for PlaneDetectorOrientationEXT
impl Unpin for PlaneDetectorOrientationEXT
impl UnwindSafe for PlaneDetectorOrientationEXT
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