pub enum OverlayFrame {
Rendered(RangeCut),
Reconfigured,
Skipped,
}Expand description
What one OverlaySurface::record (or OverlaySurface::render) did.
Variants§
Rendered(RangeCut)
The range was drawn and its frame is waiting for
OverlaySurface::present (or OverlaySurface::take_deferred_present)
— after OverlaySurface::record, once its encoder was submitted and
OverlaySurface::end_frame told so.
Reconfigured
The swapchain was stale and has been reconfigured; nothing to present this frame.
Skipped
No frame this time (a transient acquire failure, or a lost surface the host recreates through its own lifecycle).
Trait Implementations§
Source§impl Clone for OverlayFrame
impl Clone for OverlayFrame
impl Copy for OverlayFrame
Source§impl Debug for OverlayFrame
impl Debug for OverlayFrame
impl Eq for OverlayFrame
Source§impl PartialEq for OverlayFrame
impl PartialEq for OverlayFrame
impl StructuralPartialEq for OverlayFrame
Auto Trait Implementations§
impl Freeze for OverlayFrame
impl RefUnwindSafe for OverlayFrame
impl Send for OverlayFrame
impl Sync for OverlayFrame
impl Unpin for OverlayFrame
impl UnsafeUnpin for OverlayFrame
impl UnwindSafe for OverlayFrame
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.