euv-core 0.52.1

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

/// Optional process-wide native OS capability bridge registered by Android/iOS/Desktop hosts.
pub(crate) static EXTERNAL_NATIVE_ACTION_BRIDGE: AtomicPtr<()> = AtomicPtr::new(null_mut());

/// Thread-safe record of the most recently validated external URL passed to `open_external_url`.
pub(crate) static LAST_EXTERNAL_URL: Mutex<Option<String>> = Mutex::new(None);

/// Thread-safe record of the most recently opened embedded WebView sheet `(url, title)` pair.
pub(crate) static LAST_WEBVIEW_SHEET: Mutex<Option<(String, String)>> = Mutex::new(None);

/// Thread-safe cache of the most recently dispatched embedded WebView viewport `(bounds, opacity)` frame.
pub(crate) static LAST_WEBVIEW_FRAME: Mutex<Option<(Rect, f32)>> = Mutex::new(None);

/// Optional process-wide host bridge callback returning live OS clipboard text.
pub(crate) static EXTERNAL_CLIPBOARD_READ_BRIDGE: AtomicPtr<()> = AtomicPtr::new(null_mut());

/// Optional process-wide host bridge callback returning the live OS light/dark theme mode.
pub(crate) static EXTERNAL_THEME_QUERY_BRIDGE: AtomicPtr<()> = AtomicPtr::new(null_mut());

/// Process-local fallback clipboard buffer synchronized on every `write_system_clipboard` call.
pub(crate) static NATIVE_CLIPBOARD_CACHE: Mutex<Option<String>> = Mutex::new(None);