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: StructureTypenext: *const c_voidsub_image: SwapchainSubImagemin_depth: f32max_depth: f32near_z: f32far_z: f32Implementations
sourceimpl CompositionLayerDepthInfoKHR
impl CompositionLayerDepthInfoKHR
pub const TYPE: StructureType = StructureType::COMPOSITION_LAYER_DEPTH_INFO_KHR
Trait Implementations
sourceimpl Clone for CompositionLayerDepthInfoKHR
impl Clone for CompositionLayerDepthInfoKHR
sourcefn clone(&self) -> CompositionLayerDepthInfoKHR
fn clone(&self) -> CompositionLayerDepthInfoKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more