pub struct PresentInfoKhrBuilder<'b> { /* private fields */ }Expand description
A builder for VkPresentInfoKHR.
Implementations§
Source§impl<'b> PresentInfoKhrBuilder<'b>
impl<'b> PresentInfoKhrBuilder<'b>
pub fn new() -> PresentInfoKhrBuilder<'b>
pub unsafe fn next<'m>(self, next: *const c_void) -> PresentInfoKhrBuilder<'b>
pub fn wait_semaphores<'m, 'a>(
self,
wait_semaphores: &'a [SemaphoreHandle],
) -> PresentInfoKhrBuilder<'b>where
'a: 'b,
pub fn swapchains<'m, 'a>(
self,
swapchains: &'a [SwapchainKhrHandle],
) -> PresentInfoKhrBuilder<'b>where
'a: 'b,
pub fn image_indices<'m, 'a>(
self,
image_indices: &'a [u32],
) -> PresentInfoKhrBuilder<'b>where
'a: 'b,
pub fn results<'m, 'a>(
self,
results: &'a mut [CallResult],
) -> PresentInfoKhrBuilder<'b>where
'a: 'b,
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_wait_semaphores<'a>(&'a self) -> &'a [VkSemaphore] ⓘ
pub fn get_swapchains<'a>(&'a self) -> &'a [VkSwapchainKHR] ⓘ
pub fn get_image_indices<'a>(&'a self) -> &'a [u32]
pub fn get_results<'a>(&'a self) -> &'a [CallResult]
pub fn build(self) -> PresentInfoKhr<'b>
Trait Implementations§
Source§impl<'b> Clone for PresentInfoKhrBuilder<'b>
impl<'b> Clone for PresentInfoKhrBuilder<'b>
Source§fn clone(&self) -> PresentInfoKhrBuilder<'b>
fn clone(&self) -> PresentInfoKhrBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'b> Debug for PresentInfoKhrBuilder<'b>
impl<'b> Debug for PresentInfoKhrBuilder<'b>
Source§impl<'b> Default for PresentInfoKhrBuilder<'b>
impl<'b> Default for PresentInfoKhrBuilder<'b>
Source§fn default() -> PresentInfoKhrBuilder<'b>
fn default() -> PresentInfoKhrBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for PresentInfoKhrBuilder<'b>
impl<'b> RefUnwindSafe for PresentInfoKhrBuilder<'b>
impl<'b> !Send for PresentInfoKhrBuilder<'b>
impl<'b> !Sync for PresentInfoKhrBuilder<'b>
impl<'b> Unpin for PresentInfoKhrBuilder<'b>
impl<'b> UnwindSafe for PresentInfoKhrBuilder<'b>
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