Skip to main content

VulkanCommandPoolExtManual

Trait VulkanCommandPoolExtManual 

Source
pub trait VulkanCommandPoolExtManual: IsA<VulkanCommandPool> + 'static {
    // Provided method
    fn lock<'a>(&'a self) -> VulkanCommandPoolGuard<'a> { ... }
}

Provided Methods§

Source

fn lock<'a>(&'a self) -> VulkanCommandPoolGuard<'a>

Locks the command pool. A struct similar to MutexGuard is retured that unlocks the command pool once dropped.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§