Trait crabgrab::feature::wgpu::WgpuCaptureConfigExt

source ·
pub trait WgpuCaptureConfigExt: Sized {
    // Required method
    fn with_wgpu_device(
        self,
        device: Arc<dyn AsRef<Device> + Send + Sync + 'static>
    ) -> Result<Self, String>;
}
Expand description

A capture config which can be supplied with a Wgpu device

Required Methods§

source

fn with_wgpu_device( self, device: Arc<dyn AsRef<Device> + Send + Sync + 'static> ) -> Result<Self, String>

Object Safety§

This trait is not object safe.

Implementors§