pub struct SemaphoreSubmitInfoBuilder<'a> { /* private fields */ }Expand description
Builder for SemaphoreSubmitInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> SemaphoreSubmitInfoBuilder<'a>
impl<'a> SemaphoreSubmitInfoBuilder<'a>
pub fn semaphore(self, value: Semaphore) -> Self
pub fn value(self, value: u64) -> Self
pub fn stage_mask(self, value: PipelineStageFlags2) -> Self
pub fn device_index(self, value: u32) -> Self
Sourcepub fn push_next<T: ExtendsSemaphoreSubmitInfo>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsSemaphoreSubmitInfo>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See SemaphoreSubmitInfo’s Extended By section for valid types.
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> UnsafeUnpin 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