Struct ash::vk::AcquireNextImageInfoKHRBuilder
source · 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