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§
Auto Trait Implementations§
impl<B> Freeze for Gpu<B>
impl<B> RefUnwindSafe for Gpu<B>
impl<B> Send for Gpu<B>
impl<B> Sync for Gpu<B>
impl<B> Unpin for Gpu<B>
impl<B> UnwindSafe for Gpu<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more