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