pub struct AcquireNextImageInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> AcquireNextImageInfoKHRBuilder<'a>
impl<'a> AcquireNextImageInfoKHRBuilder<'a>
pub fn swapchain(self, swapchain: SwapchainKHR) -> Self
pub fn timeout(self, timeout: u64) -> Self
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn fence(self, fence: Fence) -> Self
pub fn device_mask(self, device_mask: u32) -> Self
Sourcepub fn build(self) -> AcquireNextImageInfoKHR
pub fn build(self) -> AcquireNextImageInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for AcquireNextImageInfoKHRBuilder<'a>
impl<'a> Deref for AcquireNextImageInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AcquireNextImageInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for AcquireNextImageInfoKHRBuilder<'a>
impl<'a> !Send for AcquireNextImageInfoKHRBuilder<'a>
impl<'a> !Sync for AcquireNextImageInfoKHRBuilder<'a>
impl<'a> Unpin for AcquireNextImageInfoKHRBuilder<'a>
impl<'a> UnwindSafe for AcquireNextImageInfoKHRBuilder<'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