pub struct GpuErrorReports { /* private fields */ }Expand description
GPU errors the embedding saw that no scope of the renderer’s caught: on the browser, every uncaptured error its device reports.
Cloning shares one record, so the embedding keeps a clone in its device’s error handler. Reporting only records; the renderer acts on it at its next encoder, on its own thread.
Implementations§
Source§impl GpuErrorReports
impl GpuErrorReports
Sourcepub fn report(&self, kind: GpuErrorKind)
pub fn report(&self, kind: GpuErrorKind)
Records an error the device reported outside any of the renderer’s scopes. Cheap and lock-free: a device’s error handler may call it from any thread.
Trait Implementations§
Source§impl Clone for GpuErrorReports
impl Clone for GpuErrorReports
Source§impl Debug for GpuErrorReports
impl Debug for GpuErrorReports
Auto Trait Implementations§
impl Freeze for GpuErrorReports
impl RefUnwindSafe for GpuErrorReports
impl Send for GpuErrorReports
impl Sync for GpuErrorReports
impl Unpin for GpuErrorReports
impl UnsafeUnpin for GpuErrorReports
impl UnwindSafe for GpuErrorReports
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more