Struct vulkano::device::QueueGuard

source ·
pub struct QueueGuard<'a> { /* private fields */ }

Implementations

Waits until all work on this queue has finished, then releases ownership of all resources that were in use by the queue.

This is equivalent to submitting a fence to the queue, waiting on it, and then calling cleanup_finished.

Just like Device::wait_idle, you shouldn’t have to call this function in a typical program.

Opens a queue debug label region.

The ext_debug_utils extension must be enabled on the instance.

Closes a queue debug label region.

The ext_debug_utils must be enabled on the instance.

Safety
  • There must be an outstanding queue label region begun with begin_debug_utils_label in the queue.

Inserts a queue debug label.

The ext_debug_utils must be enabled on the instance.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.