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