[][src]Struct openxr::SwapchainSubImage

#[repr(transparent)]pub struct SwapchainSubImage<'a, G: Graphics> { /* fields omitted */ }

Implementations

impl<'a, G: Graphics> SwapchainSubImage<'a, G>[src]

pub fn new() -> Self[src]

pub unsafe fn from_raw(inner: SwapchainSubImage) -> Self[src]

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[src]

pub fn as_raw(&self) -> &SwapchainSubImage[src]

pub fn swapchain(self, value: &'a Swapchain<G>) -> Self[src]

pub fn image_rect(self, value: Rect2Di) -> Self[src]

pub fn image_array_index(self, value: u32) -> Self[src]

Trait Implementations

impl<'a, G: Clone + Graphics> Clone for SwapchainSubImage<'a, G>[src]

impl<'a, G: Copy + Graphics> Copy for SwapchainSubImage<'a, G>[src]

impl<'a, G: Graphics> Default for SwapchainSubImage<'a, G>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.