logo
pub struct QueueFamily<'a> { /* private fields */ }
Expand description

Represents a queue family in a physical device.

A queue family is group of one or multiple queues. All queues of one family have the same characteristics.

Implementations

Returns the physical device associated to this queue family.

Returns the identifier of this queue family within the physical device.

Returns the number of queues that belong to this family.

Guaranteed to be at least 1 (or else that family wouldn’t exist).

If timestamps are supported, returns the number of bits supported by timestamp operations. The returned value will be in the range 36..64. If timestamps are not supported, returns None.

Returns the minimum granularity supported for image transfers in terms of [width, height, depth]

Returns true if queues of this family can execute graphics operations.

Returns true if queues of this family can execute compute operations.

Returns true if queues of this family can execute transfer operations.

Note: While all queues that can perform graphics or compute operations can implicitly perform transfer operations, graphics & compute queues only optionally indicate support for tranfers. Many discrete cards will have one queue family that exclusively sets the VK_QUEUE_TRANSFER_BIT to indicate a special relationship with the DMA module and more efficient transfers.

Returns true if queues of this family can execute sparse resources binding operations.

Returns true if the queues of this family support a particular pipeline stage.

Returns whether queues of this family can draw on the given surface.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.