Struct openxr::CompositionLayerEquirectKHR
source · pub struct CompositionLayerEquirectKHR<'a, G: Graphics> { /* private fields */ }
Implementations§
source§impl<'a, G: Graphics> CompositionLayerEquirectKHR<'a, G>
impl<'a, G: Graphics> CompositionLayerEquirectKHR<'a, G>
pub fn new() -> Self
sourcepub unsafe fn from_raw(inner: CompositionLayerEquirectKHR) -> Self
pub unsafe fn from_raw(inner: CompositionLayerEquirectKHR) -> 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) -> CompositionLayerEquirectKHR
pub fn as_raw(&self) -> &CompositionLayerEquirectKHR
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 sub_image(self, value: SwapchainSubImage<'a, G>) -> Self
pub fn pose(self, value: Posef) -> Self
pub fn radius(self, value: f32) -> Self
pub fn scale(self, value: Vector2f) -> Self
pub fn bias(self, value: Vector2f) -> Self
Trait Implementations§
source§impl<'a, G: Clone + Graphics> Clone for CompositionLayerEquirectKHR<'a, G>
impl<'a, G: Clone + Graphics> Clone for CompositionLayerEquirectKHR<'a, G>
source§fn clone(&self) -> CompositionLayerEquirectKHR<'a, G>
fn clone(&self) -> CompositionLayerEquirectKHR<'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 CompositionLayerEquirectKHR<'a, G>
impl<'a, G: Graphics> Default for CompositionLayerEquirectKHR<'a, G>
source§impl<'a, G: Graphics> Deref for CompositionLayerEquirectKHR<'a, G>
impl<'a, G: Graphics> Deref for CompositionLayerEquirectKHR<'a, G>
impl<'a, G: Copy + Graphics> Copy for CompositionLayerEquirectKHR<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for CompositionLayerEquirectKHR<'a, G>
impl<'a, G> RefUnwindSafe for CompositionLayerEquirectKHR<'a, G>where
G: RefUnwindSafe,
impl<'a, G> !Send for CompositionLayerEquirectKHR<'a, G>
impl<'a, G> !Sync for CompositionLayerEquirectKHR<'a, G>
impl<'a, G> Unpin for CompositionLayerEquirectKHR<'a, G>
impl<'a, G> UnwindSafe for CompositionLayerEquirectKHR<'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
)