pub struct SemaphoreWaitInfoBuilder<'a> { /* private fields */ }Expand description
Builder for SemaphoreWaitInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> SemaphoreWaitInfoBuilder<'a>
impl<'a> SemaphoreWaitInfoBuilder<'a>
pub fn flags(self, value: SemaphoreWaitFlagBits) -> SemaphoreWaitInfoBuilder<'a>
pub fn semaphores(self, slice: &'a [Semaphore]) -> SemaphoreWaitInfoBuilder<'a>
pub fn values(self, slice: &'a [u64]) -> SemaphoreWaitInfoBuilder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> SemaphoreWaitInfoBuilder<'a>where
T: ExtendsSemaphoreWaitInfo,
pub fn push_next<T>(self, next: &'a mut T) -> SemaphoreWaitInfoBuilder<'a>where
T: ExtendsSemaphoreWaitInfo,
Prepend a struct to the pNext chain. See SemaphoreWaitInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for SemaphoreWaitInfoBuilder<'a>
impl<'a> Deref for SemaphoreWaitInfoBuilder<'a>
Source§type Target = SemaphoreWaitInfo
type Target = SemaphoreWaitInfo
The resulting type after dereferencing.
Source§impl<'a> DerefMut for SemaphoreWaitInfoBuilder<'a>
impl<'a> DerefMut 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> UnsafeUnpin 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