SemaphoreOps

Trait SemaphoreOps 

Source
pub trait SemaphoreOps {
    // Required method
    fn handle(&self) -> Semaphore;

    // Provided method
    fn submit_info(
        &self,
        value: u64,
        stage_mask: impl Into<PipelineStageFlags2> + Copy,
    ) -> SemaphoreSubmitInfo { ... }
}

Required Methods§

Source

fn handle(&self) -> Semaphore

Provided Methods§

Source

fn submit_info( &self, value: u64, stage_mask: impl Into<PipelineStageFlags2> + Copy, ) -> SemaphoreSubmitInfo

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§