#[repr(C)]pub struct SpatialComponentPolygon2DListEXT {
pub ty: StructureType,
pub next: *mut c_void,
pub polygon_count: u32,
pub polygons: *mut SpatialPolygon2DDataEXT,
}Expand description
See XrSpatialComponentPolygon2DListEXT - defined by XR_EXT_spatial_plane_tracking
Fields§
§ty: StructureType§next: *mut c_void§polygon_count: u32§polygons: *mut SpatialPolygon2DDataEXTImplementations§
Source§impl SpatialComponentPolygon2DListEXT
impl SpatialComponentPolygon2DListEXT
pub const TYPE: StructureType = StructureType::SPATIAL_COMPONENT_POLYGON_2D_LIST_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 SpatialComponentPolygon2DListEXT
impl Clone for SpatialComponentPolygon2DListEXT
Source§fn clone(&self) -> SpatialComponentPolygon2DListEXT
fn clone(&self) -> SpatialComponentPolygon2DListEXT
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 moreimpl Copy for SpatialComponentPolygon2DListEXT
Auto Trait Implementations§
impl Freeze for SpatialComponentPolygon2DListEXT
impl RefUnwindSafe for SpatialComponentPolygon2DListEXT
impl !Send for SpatialComponentPolygon2DListEXT
impl !Sync for SpatialComponentPolygon2DListEXT
impl Unpin for SpatialComponentPolygon2DListEXT
impl UnwindSafe for SpatialComponentPolygon2DListEXT
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