pub struct CompositionLayerProjectionView<'a, G: Graphics> { /* private fields */ }
Implementations§
Source§impl<'a, G: Graphics> CompositionLayerProjectionView<'a, G>
impl<'a, G: Graphics> CompositionLayerProjectionView<'a, G>
pub fn new() -> Self
Sourcepub unsafe fn from_raw(inner: CompositionLayerProjectionView) -> Self
pub unsafe fn from_raw(inner: CompositionLayerProjectionView) -> 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) -> CompositionLayerProjectionView
pub fn as_raw(&self) -> &CompositionLayerProjectionView
pub fn pose(self, value: Posef) -> Self
pub fn fov(self, value: Fovf) -> Self
pub fn sub_image(self, value: SwapchainSubImage<'a, G>) -> Self
Trait Implementations§
Source§impl<'a, G: Clone + Graphics> Clone for CompositionLayerProjectionView<'a, G>
impl<'a, G: Clone + Graphics> Clone for CompositionLayerProjectionView<'a, G>
Source§fn clone(&self) -> CompositionLayerProjectionView<'a, G>
fn clone(&self) -> CompositionLayerProjectionView<'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 CompositionLayerProjectionView<'a, G>
impl<'a, G: Graphics> Default for CompositionLayerProjectionView<'a, G>
impl<'a, G: Copy + Graphics> Copy for CompositionLayerProjectionView<'a, G>
Auto Trait Implementations§
impl<'a, G> Freeze for CompositionLayerProjectionView<'a, G>
impl<'a, G> RefUnwindSafe for CompositionLayerProjectionView<'a, G>where
G: RefUnwindSafe,
impl<'a, G> !Send for CompositionLayerProjectionView<'a, G>
impl<'a, G> !Sync for CompositionLayerProjectionView<'a, G>
impl<'a, G> Unpin for CompositionLayerProjectionView<'a, G>
impl<'a, G> UnwindSafe for CompositionLayerProjectionView<'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