pub enum FallbackAction {
None,
TrimPrefetchAndColdCache {
retain_ratio: f32,
},
AdjustPresentCadence {
target_hz: f32,
},
RouteLayerToCpuReference,
SwitchToCpuReference {
reason: FallbackCpuReason,
},
}Expand description
Strictly non-degrading action produced by FallbackPolicyEngine (never modifies shadows, blur, AA, clipping, or resolution).
Variants§
None
Continue normal execution with no policy change.
TrimPrefetchAndColdCache
Cancel speculative route prefetch and shrink cold/invisible cache retention while keeping all visible content identical.
AdjustPresentCadence
Adjust presentation cadence along display-compatible tiers with hysteresis and minimum dwell time.
RouteLayerToCpuReference
Render one isolated effect layer through the full CPU reference rasterizer and composite into the GPU frame.
SwitchToCpuReference
Switch the entire frame to the full CPU reference backend while preserving route, scroll, focus, and gesture state.
Fields
§
reason: FallbackCpuReasonStructured cause for moving to CPU reference rendering.
Trait Implementations§
Source§impl Clone for FallbackAction
impl Clone for FallbackAction
impl Copy for FallbackAction
Source§impl Debug for FallbackAction
impl Debug for FallbackAction
Source§impl Default for FallbackAction
impl Default for FallbackAction
Source§impl PartialEq for FallbackAction
impl PartialEq for FallbackAction
impl StructuralPartialEq for FallbackAction
Auto Trait Implementations§
impl Forget for FallbackAction
impl Freeze for FallbackAction
impl Move for FallbackAction
impl RefUnwindSafe for FallbackAction
impl Send for FallbackAction
impl Sync for FallbackAction
impl Unpin for FallbackAction
impl UnsafeUnpin for FallbackAction
impl UnwindSafe for FallbackAction
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