euv-core 0.48.2

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Category of bounded speculative pre-warming work prepared ahead of route entry.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum PrewarmWorkKind {
    /// Pre-shape critical headline and body text runs for the target route.
    #[default]
    TextShaping = 0,
    /// Pre-rasterize critical glyphs into the font atlas for the active DPR and AA mode.
    GlyphRaster = 1,
    /// Pre-decode hero images/thumbnails for the target route within bounded memory limits.
    ImageDecode = 2,
    /// Pre-warm graphics shader pipeline state objects for the target route.
    PipelineWarmup = 3,
}