euv-core 0.3.34

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
use crate::*;

/// Global registry holding `Rc<RefCell<SignalInner<T>>>` references to prevent
/// premature deallocation. Each signal's inner state is tracked by its pointer
/// address. The `Rc` references are never removed, ensuring the `Copy`-based
/// `Signal` handles always point to valid memory.
pub(crate) static mut SIGNAL_INNER_REGISTRY: SignalInnerRegistryCell =
    SignalInnerRegistryCell(UnsafeCell::new(None));