#[non_exhaustive]pub enum WgpuFrameSkipReason {
ZeroSize,
NoDrawData,
NoDrawCommands,
Timeout,
Outdated,
Lost,
Occluded,
RetiredTarget,
TargetBusy,
}Expand description
Why a target did not produce Dear ImGui draw commands during this attempt.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ZeroSize
The framebuffer has at least one zero dimension.
NoDrawData
No valid draw data was available.
NoDrawCommands
Every command was empty or clipped away.
Timeout
Surface acquisition timed out.
Outdated
The outdated surface was reconfigured for a later attempt.
Lost
The lost surface was recreated for a later attempt.
Occluded
The compositor reported the surface as occluded.
RetiredTarget
The native allocation was no longer owned by the captured platform owner.
TargetBusy
A previous recorded or pending frame still owns this surface acquisition.
Trait Implementations§
Source§impl Clone for WgpuFrameSkipReason
impl Clone for WgpuFrameSkipReason
impl Copy for WgpuFrameSkipReason
Source§impl Debug for WgpuFrameSkipReason
impl Debug for WgpuFrameSkipReason
impl Eq for WgpuFrameSkipReason
Source§impl PartialEq for WgpuFrameSkipReason
impl PartialEq for WgpuFrameSkipReason
impl StructuralPartialEq for WgpuFrameSkipReason
Auto Trait Implementations§
impl Forget for WgpuFrameSkipReason
impl Freeze for WgpuFrameSkipReason
impl Move for WgpuFrameSkipReason
impl RefUnwindSafe for WgpuFrameSkipReason
impl Send for WgpuFrameSkipReason
impl Sync for WgpuFrameSkipReason
impl Unpin for WgpuFrameSkipReason
impl UnsafeUnpin for WgpuFrameSkipReason
impl UnwindSafe for WgpuFrameSkipReason
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.