pub struct SemaphoreSubmitInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SemaphoreSubmitInfoBuilder<'a>
impl<'a> SemaphoreSubmitInfoBuilder<'a>
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn value(self, value: u64) -> Self
pub fn stage_mask(self, stage_mask: PipelineStageFlags2) -> Self
pub fn device_index(self, device_index: u32) -> Self
Sourcepub fn build(self) -> SemaphoreSubmitInfo
pub fn build(self) -> SemaphoreSubmitInfo
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 SemaphoreSubmitInfoBuilder<'a>
impl<'a> Deref for SemaphoreSubmitInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreSubmitInfoBuilder<'a>
impl<'a> RefUnwindSafe for SemaphoreSubmitInfoBuilder<'a>
impl<'a> !Send for SemaphoreSubmitInfoBuilder<'a>
impl<'a> !Sync for SemaphoreSubmitInfoBuilder<'a>
impl<'a> Unpin for SemaphoreSubmitInfoBuilder<'a>
impl<'a> UnwindSafe for SemaphoreSubmitInfoBuilder<'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