pub struct PresentInfo<'a> {
pub image: SwapchainImage,
pub swapchain: &'a mut Swapchain,
pub wait_semaphores: &'a [Semaphore],
}Expand description
Describes one swapchain image to present.
Fields§
§image: SwapchainImageThe acquired image to present.
swapchain: &'a mut SwapchainThe swapchain that acquired image.
wait_semaphores: &'a [Semaphore]Semaphores to wait on before presentation.
Vulkan applies the flattened semaphore list to the whole present batch, not just this image.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for PresentInfo<'a>
impl<'a> !RefUnwindSafe for PresentInfo<'a>
impl<'a> !Sync for PresentInfo<'a>
impl<'a> !UnwindSafe for PresentInfo<'a>
impl<'a> Send for PresentInfo<'a>
impl<'a> Unpin for PresentInfo<'a>
impl<'a> UnsafeUnpin for PresentInfo<'a>
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