euv-core 0.3.36

A declarative, cross-platform UI framework for Rust with virtual DOM, reactive signals, and HTML macros for WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::*;

/// Scheduling flag to batch signal updates within a single tick.
pub(crate) static SCHEDULED: AtomicBool = AtomicBool::new(false);

/// Suppress flag to prevent `schedule_signal_update()` from dispatching
/// during internal operations such as `watch!` initialisation.
pub(crate) static SUPPRESS_SCHEDULE: AtomicBool = AtomicBool::new(false);

/// The currently active `HookContext`.
pub(crate) static mut CURRENT_HOOK_CONTEXT: CurrentHookContextCell =
    CurrentHookContextCell(UnsafeCell::new(None));