pub struct NextImages<'a, B: Backend> { /* private fields */ }
Expand description
Represents acquire frames that will be presented next.
Implementations§
Source§impl<'a, B> NextImages<'a, B>where
B: Backend,
impl<'a, B> NextImages<'a, B>where
B: Backend,
Sourcepub fn indices(&self) -> impl IntoIterator<Item = u32> + '_
pub fn indices(&self) -> impl IntoIterator<Item = u32> + '_
Get indices.
Sourcepub unsafe fn present<'b>(
self,
queue: &mut impl CommandQueue<B>,
wait: impl IntoIterator<Item = &'b (impl Borrow<B::Semaphore> + 'b)>,
) -> Result<Option<Suboptimal>, PresentError>where
'a: 'b,
pub unsafe fn present<'b>(
self,
queue: &mut impl CommandQueue<B>,
wait: impl IntoIterator<Item = &'b (impl Borrow<B::Semaphore> + 'b)>,
) -> Result<Option<Suboptimal>, PresentError>where
'a: 'b,
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> Freeze for NextImages<'a, B>
impl<'a, B> RefUnwindSafe for NextImages<'a, B>where
<B as Backend>::Surface: RefUnwindSafe,
<B as Backend>::Swapchain: RefUnwindSafe,
<B as Backend>::Image: RefUnwindSafe,
<B as Backend>::Memory: RefUnwindSafe,
impl<'a, B> Send for NextImages<'a, B>
impl<'a, B> Sync for NextImages<'a, B>
impl<'a, B> Unpin for NextImages<'a, B>
impl<'a, B> UnwindSafe for NextImages<'a, B>where
<B as Backend>::Surface: RefUnwindSafe,
<B as Backend>::Swapchain: RefUnwindSafe,
<B as Backend>::Image: RefUnwindSafe,
<B as Backend>::Memory: 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