Struct nannou_wgpu::DeviceMap
source · pub struct DeviceMap { /* private fields */ }
Expand description
A map of actively connected devices for an adapter.
This is used so that windows built to target the same physical device may also target the same logical device and share the same queue. This allows for resources like textures and buffers to be shared between windows.
The map contains only weak handles to active adapters and cleans up unused entries at the end of each application loop.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DeviceMap
impl Send for DeviceMap
impl Sync for DeviceMap
impl Unpin for DeviceMap
impl UnwindSafe for DeviceMap
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