pub struct PresentInfo<'r>(/* private fields */);
Available on crate feature
VK_KHR_swapchain
only.Implementations§
Source§impl<'r> PresentInfo<'r>
impl<'r> PresentInfo<'r>
pub fn new( wait_semaphores: &'r [VkHandleRef<'_, VkSemaphore>], swapchains: &'r [VkHandleRef<'_, VkSwapchainKHR>], image_indices: &'r [u32], results: &'r mut [VkResult], ) -> Self
pub const unsafe fn from_raw(raw: VkPresentInfoKHR) -> Self
pub const fn into_raw(self) -> VkPresentInfoKHR
pub fn submit(&self, queue: &mut (impl QueueMut + ?Sized)) -> Result<()>
Available on crate feature
Implements
only.Auto Trait Implementations§
impl<'r> Freeze for PresentInfo<'r>
impl<'r> RefUnwindSafe for PresentInfo<'r>
impl<'r> !Send for PresentInfo<'r>
impl<'r> !Sync for PresentInfo<'r>
impl<'r> Unpin for PresentInfo<'r>
impl<'r> !UnwindSafe for PresentInfo<'r>
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