fret-ui 0.1.0

Mechanism-layer UI engine for Fret with tree, layout, focus, routing, and interaction contracts.
Documentation
1
2
3
4
5
6
7
use std::sync::OnceLock;

#[inline]
pub(crate) fn strict_runtime_enabled() -> bool {
    static ENABLED: OnceLock<bool> = OnceLock::new();
    *ENABLED.get_or_init(fret_runtime::strict_runtime::strict_runtime_enabled_from_env)
}