euv-core 0.44.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 lazy, glitch-free memoized reactive computation.
#[derive(Debug)]
pub struct Memo<T>
where
    T: 'static,
{
    /// Backing arena identifier for this memo.
    pub(crate) id: MemoId,
    /// Type marker preserving static type safety.
    pub(crate) marker: PhantomData<fn() -> T>,
}