[][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<Option<Suboptimal>, PresentError> where
    'a: 'b, 
[src]

Present images by the queue.

TODO

Use specific presentation error type.

Trait Implementations

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

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

type Output = u32

The returned type after indexing.

Auto Trait Implementations

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

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

impl<'a, B> Unpin for NextImages<'a, B>

impl<'a, B> UnwindSafe for NextImages<'a, B> where
    <B as Backend>::Image: RefUnwindSafe,
    <B as Backend>::Memory: RefUnwindSafe,
    <B as Backend>::Surface: RefUnwindSafe,
    <B as Backend>::Swapchain: RefUnwindSafe

impl<'a, B> RefUnwindSafe for NextImages<'a, B> where
    <B as Backend>::Image: RefUnwindSafe,
    <B as Backend>::Memory: RefUnwindSafe,
    <B as Backend>::Surface: RefUnwindSafe,
    <B as Backend>::Swapchain: RefUnwindSafe

Blanket Implementations

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

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

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.

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

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

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

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