euv_core/reactive/signal/struct.rs
1use super::*;
2
3/// Zero-overhead `Copy` handle to a fine-grained reactive signal stored in the arena.
4#[derive(Debug)]
5pub struct Signal<T>
6where
7 T: 'static,
8{
9 /// Backing arena identifier for this signal.
10 pub(crate) id: SignalId,
11 /// Type marker preserving static type safety without storing payload inline.
12 pub(crate) marker: PhantomData<fn() -> T>,
13}