#[repr(C)]pub struct CompositionLayerPassthroughHTC {
pub ty: StructureType,
pub next: *const c_void,
pub layer_flags: CompositionLayerFlags,
pub space: Space,
pub passthrough: PassthroughHTC,
pub color: PassthroughColorHTC,
}
Expand description
See XrCompositionLayerPassthroughHTC - defined by XR_HTC_passthrough
Fields§
§ty: StructureType
§next: *const c_void
§layer_flags: CompositionLayerFlags
§space: Space
§passthrough: PassthroughHTC
§color: PassthroughColorHTC
Implementations§
Source§impl CompositionLayerPassthroughHTC
impl CompositionLayerPassthroughHTC
pub const TYPE: StructureType = StructureType::COMPOSITION_LAYER_PASSTHROUGH_HTC
Trait Implementations§
Source§impl Clone for CompositionLayerPassthroughHTC
impl Clone for CompositionLayerPassthroughHTC
Source§fn clone(&self) -> CompositionLayerPassthroughHTC
fn clone(&self) -> CompositionLayerPassthroughHTC
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 CompositionLayerPassthroughHTC
Auto Trait Implementations§
impl Freeze for CompositionLayerPassthroughHTC
impl RefUnwindSafe for CompositionLayerPassthroughHTC
impl !Send for CompositionLayerPassthroughHTC
impl !Sync for CompositionLayerPassthroughHTC
impl Unpin for CompositionLayerPassthroughHTC
impl UnwindSafe for CompositionLayerPassthroughHTC
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