pub struct DeviceHandle {
pub instance: Instance,
pub adapter: Adapter,
pub device: Device,
pub queue: Queue,
}Expand description
A wgpu Device, it’s associated Queue, and the Adapter and Instance used to create them
Fields§
§instance: Instance§adapter: Adapter§device: Device§queue: QueueTrait Implementations§
Source§impl Clone for DeviceHandle
impl Clone for DeviceHandle
Source§fn clone(&self) -> DeviceHandle
fn clone(&self) -> DeviceHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceHandle
impl !RefUnwindSafe for DeviceHandle
impl Send for DeviceHandle
impl Sync for DeviceHandle
impl Unpin for DeviceHandle
impl !UnwindSafe for DeviceHandle
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