pub struct PresentInfoKHRBuilder<'a> { /* private fields */ }Expand description
Builder for PresentInfoKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> PresentInfoKHRBuilder<'a>
impl<'a> PresentInfoKHRBuilder<'a>
pub fn wait_semaphores(self, slice: &'a [Semaphore]) -> Self
pub fn swapchains(self, slice: &'a [SwapchainKHR]) -> Self
pub fn image_indices(self, slice: &'a [u32]) -> Self
pub fn results(self, slice: &'a mut [Result]) -> Self
Sourcepub fn push_next<T: ExtendsPresentInfoKHR>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsPresentInfoKHR>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See PresentInfoKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for PresentInfoKHRBuilder<'a>
impl<'a> Deref for PresentInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PresentInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for PresentInfoKHRBuilder<'a>
impl<'a> !Send for PresentInfoKHRBuilder<'a>
impl<'a> !Sync for PresentInfoKHRBuilder<'a>
impl<'a> Unpin for PresentInfoKHRBuilder<'a>
impl<'a> UnsafeUnpin for PresentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for PresentInfoKHRBuilder<'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