Struct openxr::CompositionLayerCubeKHR
source · pub struct CompositionLayerCubeKHR<'a, G: Graphics> { /* private fields */ }
Implementations§
source§impl<'a, G: Graphics> CompositionLayerCubeKHR<'a, G>
impl<'a, G: Graphics> CompositionLayerCubeKHR<'a, G>
pub fn new() -> Self
sourcepub unsafe fn from_raw(inner: CompositionLayerCubeKHR) -> Self
pub unsafe fn from_raw(inner: CompositionLayerCubeKHR) -> 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) -> CompositionLayerCubeKHR
pub fn as_raw(&self) -> &CompositionLayerCubeKHR
pub fn layer_flags(self, value: CompositionLayerFlags) -> Self
pub fn space(self, value: &'a Space) -> Self
pub fn eye_visibility(self, value: EyeVisibility) -> Self
pub fn swapchain(self, value: &'a Swapchain<G>) -> Self
pub fn image_array_index(self, value: u32) -> Self
pub fn orientation(self, value: Quaternionf) -> Self
Trait Implementations§
source§impl<'a, G: Clone + Graphics> Clone for CompositionLayerCubeKHR<'a, G>
impl<'a, G: Clone + Graphics> Clone for CompositionLayerCubeKHR<'a, G>
source§fn clone(&self) -> CompositionLayerCubeKHR<'a, G>
fn clone(&self) -> CompositionLayerCubeKHR<'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 CompositionLayerCubeKHR<'a, G>
impl<'a, G: Graphics> Default for CompositionLayerCubeKHR<'a, G>
source§impl<'a, G: Graphics> Deref for CompositionLayerCubeKHR<'a, G>
impl<'a, G: Graphics> Deref for CompositionLayerCubeKHR<'a, G>
impl<'a, G: Copy + Graphics> Copy for CompositionLayerCubeKHR<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for CompositionLayerCubeKHR<'a, G>
impl<'a, G> RefUnwindSafe for CompositionLayerCubeKHR<'a, G>where
G: RefUnwindSafe,
impl<'a, G> !Send for CompositionLayerCubeKHR<'a, G>
impl<'a, G> !Sync for CompositionLayerCubeKHR<'a, G>
impl<'a, G> Unpin for CompositionLayerCubeKHR<'a, G>
impl<'a, G> UnwindSafe for CompositionLayerCubeKHR<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)