pub struct Gpu<B: Backend> {
    pub device: B::Device,
    pub queue_groups: Vec<QueueGroup<B>>,
}
Expand description

Represents a combination of a logical device and the hardware queues it provides.

This structure is typically created from an adapter.

Fields

device: B::Device

Logical device for a given backend.

queue_groups: Vec<QueueGroup<B>>

The command queues that the device provides.

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.