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