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: Queues that support graphics or compute operations also always support transfer operations. As of writing this, this function will always return true. The purpose of this function is to be future-proofed in case queues that don’t support transfer operations are ever added to Vulkan.

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

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

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
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.

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
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.