Expand description
Represents a combination of a logical device and the hardware queues it provides.
This structure is typically created using an Adapter
.
Fields
device: B::Device
Logical device for a given backend.
queues: Queues<B>
The command queues that the device provides.
Auto Trait Implementations
impl<B> RefUnwindSafe for Gpu<B>where
<B as Backend>::CommandQueue: RefUnwindSafe,
<B as Backend>::Device: RefUnwindSafe,
<B as Backend>::QueueFamily: RefUnwindSafe,
impl<B> Send for Gpu<B>
impl<B> Sync for Gpu<B>
impl<B> Unpin for Gpu<B>where
<B as Backend>::CommandQueue: Unpin,
<B as Backend>::Device: Unpin,
<B as Backend>::QueueFamily: Unpin,
impl<B> UnwindSafe for Gpu<B>where
<B as Backend>::CommandQueue: UnwindSafe,
<B as Backend>::Device: UnwindSafe,
<B as Backend>::QueueFamily: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more