euv-core 0.52.1

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
/// Compact `Send + Sync` node semantic kind tag mirrored inside `SceneLayoutSoa`.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum SoaNodeKindTag {
    /// Generic box/flex/grid container (`NodeKind::View`).
    #[default]
    Container,
    /// Measured text leaf (`NodeKind::Text`).
    Text,
    /// Intrinsic-sized image leaf (`NodeKind::Image`).
    Image,
    /// Interactive text input leaf (`NodeKind::Input`).
    Input,
    /// Custom vector/2D canvas container (`NodeKind::Canvas`).
    Canvas,
    /// Top-layer portal overlay (`NodeKind::Portal`).
    Portal,
    /// Scrollable viewport container (`NodeKind::ScrollView`).
    ScrollView,
    /// Transparent layout fragment (`NodeKind::Fragment`).
    Fragment,
}

/// Synchronization strategy executed during the most recent `SceneLayoutSoa::sync_from_tree`.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum SoaSyncMode {
    /// No topology or scene mutation occurred; existing SoA buffers remained valid.
    #[default]
    SkippedClean,
    /// Topology stayed unchanged; only dirty node style/text/visual slots updated with tight `DirtyBufferSpan`s.
    Incremental,
    /// Tree topology changed; `FlatBfsTopology` and flat GPU arrays rebuilt from `SceneTree`.
    FullRebuild,
}