Struct openxr_sys::CompositionLayerDepthInfoKHR
source · #[repr(C)]pub struct CompositionLayerDepthInfoKHR {
pub ty: StructureType,
pub next: *const c_void,
pub sub_image: SwapchainSubImage,
pub min_depth: f32,
pub max_depth: f32,
pub near_z: f32,
pub far_z: f32,
}
Expand description
See XrCompositionLayerDepthInfoKHR - defined by XR_KHR_composition_layer_depth
Fields§
§ty: StructureType
§next: *const c_void
§sub_image: SwapchainSubImage
§min_depth: f32
§max_depth: f32
§near_z: f32
§far_z: f32
Implementations§
source§impl CompositionLayerDepthInfoKHR
impl CompositionLayerDepthInfoKHR
pub const TYPE: StructureType = StructureType::COMPOSITION_LAYER_DEPTH_INFO_KHR
Trait Implementations§
source§impl Clone for CompositionLayerDepthInfoKHR
impl Clone for CompositionLayerDepthInfoKHR
source§fn clone(&self) -> CompositionLayerDepthInfoKHR
fn clone(&self) -> CompositionLayerDepthInfoKHR
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 CompositionLayerDepthInfoKHR
impl Debug for CompositionLayerDepthInfoKHR
impl Copy for CompositionLayerDepthInfoKHR
Auto Trait Implementations§
impl RefUnwindSafe for CompositionLayerDepthInfoKHR
impl !Send for CompositionLayerDepthInfoKHR
impl !Sync for CompositionLayerDepthInfoKHR
impl Unpin for CompositionLayerDepthInfoKHR
impl UnwindSafe for CompositionLayerDepthInfoKHR
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