#[repr(C)]pub struct ViewConfigurationDepthRangeEXT {
pub ty: StructureType,
pub next: *mut c_void,
pub recommended_near_z: f32,
pub min_near_z: f32,
pub recommended_far_z: f32,
pub max_far_z: f32,
}
Expand description
See XrViewConfigurationDepthRangeEXT - defined by XR_EXT_view_configuration_depth_range
Fields§
§ty: StructureType
§next: *mut c_void
§recommended_near_z: f32
§min_near_z: f32
§recommended_far_z: f32
§max_far_z: f32
Implementations§
source§impl ViewConfigurationDepthRangeEXT
impl ViewConfigurationDepthRangeEXT
pub const TYPE: StructureType = StructureType::VIEW_CONFIGURATION_DEPTH_RANGE_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 ViewConfigurationDepthRangeEXT
impl Clone for ViewConfigurationDepthRangeEXT
source§fn clone(&self) -> ViewConfigurationDepthRangeEXT
fn clone(&self) -> ViewConfigurationDepthRangeEXT
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 moreimpl Copy for ViewConfigurationDepthRangeEXT
Auto Trait Implementations§
impl RefUnwindSafe for ViewConfigurationDepthRangeEXT
impl !Send for ViewConfigurationDepthRangeEXT
impl !Sync for ViewConfigurationDepthRangeEXT
impl Unpin for ViewConfigurationDepthRangeEXT
impl UnwindSafe for ViewConfigurationDepthRangeEXT
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