pub struct BinarySemaphore { /* private fields */ }Expand description
BinarySemaphore is only intended to be used with WSI. Prefer
TimelineSemaphore for everything else.
Implementations§
Trait Implementations§
Source§impl Debug for BinarySemaphore
impl Debug for BinarySemaphore
Source§impl SemaphoreOps for BinarySemaphore
impl SemaphoreOps for BinarySemaphore
fn handle(&self) -> Semaphore
fn submit_info( &self, value: u64, stage_mask: impl Into<PipelineStageFlags2> + Copy, ) -> SemaphoreSubmitInfo
Auto Trait Implementations§
impl Freeze for BinarySemaphore
impl RefUnwindSafe for BinarySemaphore
impl Send for BinarySemaphore
impl Sync for BinarySemaphore
impl Unpin for BinarySemaphore
impl UnwindSafe for BinarySemaphore
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