pub enum RendererSurfaceStatus {
Timeout,
Occluded,
Outdated,
Lost,
Validation,
}Expand description
Recoverable or fatal state reported by the presentation surface.
Variants§
Timeout
Acquiring the next frame timed out; try again on a later frame.
Occluded
The surface is occluded or minimized; rendering can be skipped.
Outdated
The surface configuration is stale; resizing or reconfiguring is needed.
Lost
The surface was lost and should be recreated by the host application.
Validation
wgpu reported a validation error while acquiring the frame.
Trait Implementations§
Source§impl Clone for RendererSurfaceStatus
impl Clone for RendererSurfaceStatus
Source§fn clone(&self) -> RendererSurfaceStatus
fn clone(&self) -> RendererSurfaceStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RendererSurfaceStatus
Source§impl Debug for RendererSurfaceStatus
impl Debug for RendererSurfaceStatus
impl Eq for RendererSurfaceStatus
Source§impl PartialEq for RendererSurfaceStatus
impl PartialEq for RendererSurfaceStatus
impl StructuralPartialEq for RendererSurfaceStatus
Auto Trait Implementations§
impl Freeze for RendererSurfaceStatus
impl RefUnwindSafe for RendererSurfaceStatus
impl Send for RendererSurfaceStatus
impl Sync for RendererSurfaceStatus
impl Unpin for RendererSurfaceStatus
impl UnsafeUnpin for RendererSurfaceStatus
impl UnwindSafe for RendererSurfaceStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.