Enum pixels::Error [−][src]
pub enum Error {
AdapterNotFound,
DeviceNotFound(RequestDeviceError),
Surface(SurfaceError),
UserDefined(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All the ways in which creating a pixel buffer can fail.
Variants
AdapterNotFound
No suitable wgpu::Adapter
found
DeviceNotFound(RequestDeviceError)
Tuple Fields
Equivalent to wgpu::RequestDeviceError
Surface(SurfaceError)
Tuple Fields
0: SurfaceError
Equivalent to wgpu::SurfaceError
UserDefined(Box<dyn Error + Send + Sync + 'static>)
User-defined error from custom render function