pub enum PrewarmWorkKind {
TextShaping = 0,
GlyphRaster = 1,
ImageDecode = 2,
PipelineWarmup = 3,
}Expand description
Category of bounded speculative pre-warming work prepared ahead of route entry.
Variants§
TextShaping = 0
Pre-shape critical headline and body text runs for the target route.
GlyphRaster = 1
Pre-rasterize critical glyphs into the font atlas for the active DPR and AA mode.
ImageDecode = 2
Pre-decode hero images/thumbnails for the target route within bounded memory limits.
PipelineWarmup = 3
Pre-warm graphics shader pipeline state objects for the target route.
Trait Implementations§
Source§impl Clone for PrewarmWorkKind
impl Clone for PrewarmWorkKind
impl Copy for PrewarmWorkKind
Source§impl Debug for PrewarmWorkKind
impl Debug for PrewarmWorkKind
Source§impl Default for PrewarmWorkKind
impl Default for PrewarmWorkKind
impl Eq for PrewarmWorkKind
Source§impl Hash for PrewarmWorkKind
impl Hash for PrewarmWorkKind
Source§impl Ord for PrewarmWorkKind
impl Ord for PrewarmWorkKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PrewarmWorkKind
impl PartialEq for PrewarmWorkKind
Source§impl PartialOrd for PrewarmWorkKind
impl PartialOrd for PrewarmWorkKind
impl StructuralPartialEq for PrewarmWorkKind
Auto Trait Implementations§
impl Forget for PrewarmWorkKind
impl Freeze for PrewarmWorkKind
impl Move for PrewarmWorkKind
impl RefUnwindSafe for PrewarmWorkKind
impl Send for PrewarmWorkKind
impl Sync for PrewarmWorkKind
impl Unpin for PrewarmWorkKind
impl UnsafeUnpin for PrewarmWorkKind
impl UnwindSafe for PrewarmWorkKind
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