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: SemaphoreWaitFlags) -> Self
pub fn semaphores(self, slice: &'a [Semaphore]) -> Self
pub fn values(self, slice: &'a [u64]) -> Self
Sourcepub fn push_next<T: ExtendsSemaphoreWaitInfo>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsSemaphoreWaitInfo>(self, next: &'a mut T) -> Self
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>
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