Struct openxr::CompositionLayerProjection
source · pub struct CompositionLayerProjection<'a, G: Graphics> { /* private fields */ }
Implementations§
source§impl<'a, G: Graphics> CompositionLayerProjection<'a, G>
impl<'a, G: Graphics> CompositionLayerProjection<'a, G>
pub fn new() -> Self
sourcepub unsafe fn from_raw(inner: CompositionLayerProjection) -> Self
pub unsafe fn from_raw(inner: CompositionLayerProjection) -> Self
Initialize with the supplied raw values
§Safety
The guarantees normally enforced by this builder (e.g. lifetimes) must be preserved.
pub fn into_raw(self) -> CompositionLayerProjection
pub fn as_raw(&self) -> &CompositionLayerProjection
pub fn layer_flags(self, value: CompositionLayerFlags) -> Self
pub fn space(self, value: &'a Space) -> Self
pub fn views(self, value: &'a [CompositionLayerProjectionView<'a, G>]) -> Self
Trait Implementations§
source§impl<'a, G: Clone + Graphics> Clone for CompositionLayerProjection<'a, G>
impl<'a, G: Clone + Graphics> Clone for CompositionLayerProjection<'a, G>
source§fn clone(&self) -> CompositionLayerProjection<'a, G>
fn clone(&self) -> CompositionLayerProjection<'a, G>
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<'a, G: Graphics> Default for CompositionLayerProjection<'a, G>
impl<'a, G: Graphics> Default for CompositionLayerProjection<'a, G>
source§impl<'a, G: Graphics> Deref for CompositionLayerProjection<'a, G>
impl<'a, G: Graphics> Deref for CompositionLayerProjection<'a, G>
impl<'a, G: Copy + Graphics> Copy for CompositionLayerProjection<'a, G>
Auto Trait Implementations§
impl<'a, G> RefUnwindSafe for CompositionLayerProjection<'a, G>where
G: RefUnwindSafe,
impl<'a, G> !Send for CompositionLayerProjection<'a, G>
impl<'a, G> !Sync for CompositionLayerProjection<'a, G>
impl<'a, G> Unpin for CompositionLayerProjection<'a, G>
impl<'a, G> UnwindSafe for CompositionLayerProjection<'a, G>where
G: RefUnwindSafe,
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