pub async fn device( adapter: &Adapter, ) -> Result<(Device, Queue), RequestDeviceError>
Create a new [wgpu::Device].
wgpu::Device