[][src]Struct rendy_wsi::NextImages

pub struct NextImages<'a, B: Backend> { /* fields omitted */ }

Represents acquire frames that will be presented next.

Methods

impl<'a, B> NextImages<'a, B> where
    B: Backend
[src]

pub fn indices(
    &self
) -> impl IntoIterator<Item = u32> + '_
[src]

Get indices.

pub unsafe fn present<'b>(
    self,
    queue: &mut impl RawCommandQueue<B>,
    wait: impl IntoIterator<Item = &'b impl Borrow<B::Semaphore> + 'b>
) -> Result<(), Error> where
    'a: 'b, 
[src]

Present images by the queue.

TODO

Use specific presentation error type.

Trait Implementations

impl<'a, B> Index<usize> for NextImages<'a, B> where
    B: Backend
[src]

type Output = u32

The returned type after indexing.

impl<'a, B: Debug + Backend> Debug for NextImages<'a, B>[src]

Auto Trait Implementations

impl<'a, B> Send for NextImages<'a, B> where
    <B as Backend>::Framebuffer: Sync,
    <B as Backend>::Image: Send + Sync,
    <B as Backend>::Surface: Sync,
    <B as Backend>::Swapchain: Sync

impl<'a, B> Sync for NextImages<'a, B> where
    <B as Backend>::Framebuffer: Sync,
    <B as Backend>::Image: Send + Sync,
    <B as Backend>::Surface: Sync,
    <B as Backend>::Swapchain: Sync

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Supports for T[src]

impl<T> Erased for T