Trait Semaphore

Source
pub trait Semaphore: VkHandle<Handle = VkSemaphore> + DeviceChild {
    // Provided method
    fn submit_info(&self) -> SemaphoreSubmitInfo<'_> { ... }
}

Provided Methods§

Source

fn submit_info(&self) -> SemaphoreSubmitInfo<'_>

Available on crate feature VK_KHR_synchronization2 only.

Creates a submit info structure for this semaphore.

Implementations on Foreign Types§

Source§

impl<'s, T> Semaphore for &'s T
where T: Semaphore + ?Sized,

Source§

impl<'s, T> Semaphore for &'s mut T
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for Box<T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for Rc<T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for Arc<T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for Ref<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for RefMut<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for ManuallyDrop<T>
where T: Semaphore,

Source§

impl<T> Semaphore for MutexGuard<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for RwLockReadGuard<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for RwLockWriteGuard<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for MutexGuard<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for RwLockReadGuard<'_, T>
where T: Semaphore + ?Sized,

Source§

impl<T> Semaphore for RwLockWriteGuard<'_, T>
where T: Semaphore + ?Sized,

Implementors§

Source§

impl<Device: Device> Semaphore for SemaphoreObject<Device>