pub enum MobileFailoverAction {
KeepLastFrameAndSwitch(MobilePresentPath),
KeepLastFrameAndRetry,
WaitForNewSurface,
}Expand description
Deterministic failover action emitted on mobile graphics faults while guaranteeing zero blank frames.
Variants§
KeepLastFrameAndSwitch(MobilePresentPath)
Retains the last valid presented frame while immediately switching to a visually equivalent fallback path.
KeepLastFrameAndRetry
Retains the last valid presented frame and retries submission on the next VSync callback.
WaitForNewSurface
Halts presentation cleanly until the host attaches a fresh valid native surface.
Trait Implementations§
Source§impl Clone for MobileFailoverAction
impl Clone for MobileFailoverAction
impl Copy for MobileFailoverAction
Source§impl Debug for MobileFailoverAction
impl Debug for MobileFailoverAction
impl Eq for MobileFailoverAction
Source§impl PartialEq for MobileFailoverAction
impl PartialEq for MobileFailoverAction
impl StructuralPartialEq for MobileFailoverAction
Auto Trait Implementations§
impl Forget for MobileFailoverAction
impl Freeze for MobileFailoverAction
impl Move for MobileFailoverAction
impl RefUnwindSafe for MobileFailoverAction
impl Send for MobileFailoverAction
impl Sync for MobileFailoverAction
impl Unpin for MobileFailoverAction
impl UnsafeUnpin for MobileFailoverAction
impl UnwindSafe for MobileFailoverAction
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