1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/// Render backend selection parsed from `#[euv(render = ...)]`. #[derive(Clone, Copy)] pub(crate) enum EntryRenderMode { /// Automatic backend selection (`RenderConfig::default()`). Auto, /// Deterministic CPU software renderer (`RenderConfig::software()`). Software, /// Hardware GPU renderer (`RenderConfig::hardware()`). Hardware, /// Hybrid GPU/CPU renderer (`RenderConfig::hybrid()`). Hybrid, } /// Classified return signature of a function annotated with `#[euv]`. #[derive(Clone, Copy)] pub(crate) enum EntryReturnKind { /// Returns `()` — custom entry body executed directly across all platform hooks. Unit, /// Returns `Result<App, ...>` — custom `App` builder stepped by generated platform hooks. AppResult, /// Returns `NodeId` — declarative root view automatically mounted into a configured `App`. NodeId, }