euv-core 0.40.0

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
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

/// Zero-overhead `Copy` handle to a fine-grained reactive signal stored in the arena.
#[derive(Debug)]
pub struct Signal<T>
where
    T: 'static,
{
    /// Backing arena identifier for this signal.
    pub(crate) id: SignalId,
    /// Type marker preserving static type safety without storing payload inline.
    pub(crate) marker: PhantomData<fn() -> T>,
}