Struct openxr_sys::PlaneDetectorLocationEXT
source · #[repr(C)]pub struct PlaneDetectorLocationEXT {
pub ty: StructureType,
pub next: *mut c_void,
pub plane_id: u64,
pub location_flags: SpaceLocationFlags,
pub pose: Posef,
pub extents: Extent2Df,
pub orientation: PlaneDetectorOrientationEXT,
pub semantic_type: PlaneDetectorSemanticTypeEXT,
pub polygon_buffer_count: u32,
}
Expand description
See XrPlaneDetectorLocationEXT - defined by XR_EXT_plane_detection
Fields§
§ty: StructureType
§next: *mut c_void
§plane_id: u64
§location_flags: SpaceLocationFlags
§pose: Posef
§extents: Extent2Df
§orientation: PlaneDetectorOrientationEXT
§semantic_type: PlaneDetectorSemanticTypeEXT
§polygon_buffer_count: u32
Implementations§
source§impl PlaneDetectorLocationEXT
impl PlaneDetectorLocationEXT
pub const TYPE: StructureType = StructureType::PLANE_DETECTOR_LOCATION_EXT
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
source§impl Clone for PlaneDetectorLocationEXT
impl Clone for PlaneDetectorLocationEXT
source§fn clone(&self) -> PlaneDetectorLocationEXT
fn clone(&self) -> PlaneDetectorLocationEXT
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 PlaneDetectorLocationEXT
impl Debug for PlaneDetectorLocationEXT
impl Copy for PlaneDetectorLocationEXT
Auto Trait Implementations§
impl RefUnwindSafe for PlaneDetectorLocationEXT
impl !Send for PlaneDetectorLocationEXT
impl !Sync for PlaneDetectorLocationEXT
impl Unpin for PlaneDetectorLocationEXT
impl UnwindSafe for PlaneDetectorLocationEXT
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