Trait nannou_wgpu::WithDeviceQueuePair [−][src]
pub trait WithDeviceQueuePair {
fn with_device_queue_pair<F, O>(self, f: F) -> O
where
F: FnOnce(&Device, &Queue) -> O;
}
Expand description
Types that may provide access to a wgpu::Device
and an associated wgpu::Queue
for loading
a texture from an image.
Notably, implementations exist for &App
, &Window
, &wgpu::DeviceQueuePair
and (&Device, &Queue)
.