VulkanQueueExtManual

Trait VulkanQueueExtManual 

Source
pub trait VulkanQueueExtManual:
    Sealed
    + IsA<VulkanQueue>
    + 'static {
    // Provided method
    fn submit_lock<'a>(&'a self) -> VulkanQueueSubmitGuard<'a> { ... }
}

Provided Methods§

Source

fn submit_lock<'a>(&'a self) -> VulkanQueueSubmitGuard<'a>

Locks the vulkan queue for submission. A struct similar to MutexGuard is retured that unlocks the queue once dropped. Locks the queue for command submission using vkQueueSubmit() to meet the Vulkan requirements for externally synchronised resources.

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§