Enum egui_wgpu::SurfaceErrorAction
source · pub enum SurfaceErrorAction {
SkipFrame,
RecreateSurface,
}
Expand description
Specifies which action should be taken as consequence of a wgpu::SurfaceError
Variants§
SkipFrame
Do nothing and skip the current frame.
RecreateSurface
Instructs egui to recreate the surface, then skip the current frame.
Auto Trait Implementations§
impl Freeze for SurfaceErrorAction
impl RefUnwindSafe for SurfaceErrorAction
impl Send for SurfaceErrorAction
impl Sync for SurfaceErrorAction
impl Unpin for SurfaceErrorAction
impl UnwindSafe for SurfaceErrorAction
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