pub fn gpu_error_of(error: &(dyn Error + 'static)) -> Option<GpuErrorKind>Expand description
The GPU error class of the first RenderError::Gpu in error’s source chain. Out of memory
and validation have no protocol code; failure reports classify them with this.