[][src]Struct openxr::SwapchainSubImage

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

Methods

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: Copy + Graphics> Copy for SwapchainSubImage<'a, G>[src]

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

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a, G> Send for SwapchainSubImage<'a, G> where
    G: Sync

impl<'a, G> Sync for SwapchainSubImage<'a, G> where
    G: Sync

Blanket Implementations

impl<T, U> Into 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> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,