pub struct SemaphoreWaitInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SemaphoreWaitInfoBuilder<'a>
impl<'a> SemaphoreWaitInfoBuilder<'a>
pub fn flags(self, flags: SemaphoreWaitFlags) -> Self
pub fn semaphores(self, semaphores: &'a [Semaphore]) -> Self
pub fn values(self, values: &'a [u64]) -> Self
Sourcepub fn build(self) -> SemaphoreWaitInfo
pub fn build(self) -> SemaphoreWaitInfo
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 SemaphoreWaitInfoBuilder<'a>
impl<'a> Deref for SemaphoreWaitInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreWaitInfoBuilder<'a>
impl<'a> RefUnwindSafe for SemaphoreWaitInfoBuilder<'a>
impl<'a> !Send for SemaphoreWaitInfoBuilder<'a>
impl<'a> !Sync for SemaphoreWaitInfoBuilder<'a>
impl<'a> Unpin for SemaphoreWaitInfoBuilder<'a>
impl<'a> UnwindSafe for SemaphoreWaitInfoBuilder<'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