VulkanCommandPoolExt

Trait VulkanCommandPoolExt 

Source
pub trait VulkanCommandPoolExt: IsA<VulkanCommandPool> + 'static {
    // Provided methods
    fn create(&self) -> Result<VulkanCommandBuffer, Error> { ... }
    fn queue(&self) -> VulkanQueue { ... }
}
Expand description

Trait containing all VulkanCommandPool methods.

§Implementors

VulkanCommandPool

Provided Methods§

Source

fn create(&self) -> Result<VulkanCommandBuffer, Error>

§Returns

a new or recycled primary VulkanCommandBuffer

Source

fn queue(&self) -> VulkanQueue

§Returns

the parent VulkanQueue for this command pool

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§