euv-core 0.47.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
use super::*;

thread_local! {
    /// Thread-local hub storing scoped `SystemEvent` hook subscriptions.
    pub(crate) static SYSTEM_EVENT_HUB: RefCell<SystemEventHub> = RefCell::new(SystemEventHub::default());
    /// Most recently dispatched sanitized 6-DOF device motion sample on the UI thread.
    pub(crate) static LATEST_DEVICE_MOTION: Cell<DeviceMotionSample> = Cell::new(DeviceMotionSample::upright());
}