euv-core 0.47.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
/// Minimum directional displacement in logical pixels required to recognize an intentional swipe gesture.
pub(crate) const SWIPE_MIN_DISTANCE_DP: f32 = 84.0;

/// Minimum primary-to-cross-axis displacement ratio required to classify a drag as an intentional directional swipe.
pub(crate) const SWIPE_DIRECTION_RATIO: f32 = 2.0;

/// Maximum perpendicular drift in logical pixels allowed during a directional swipe gesture.
pub(crate) const SWIPE_MAX_CROSS_AXIS_DP: f32 = 52.0;

/// Minimum post-slop touch drag travel in logical pixels required before releasing inertial fling momentum.
pub(crate) const TOUCH_MIN_FLING_DRAG_DP: f32 = 16.0;

/// Minimum release velocity in logical pixels per second required to launch touch scroll inertia.
pub(crate) const TOUCH_MIN_FLING_SPEED_DP_S: f32 = 95.0;

/// Native action argument instructing the host OS to display the system soft keyboard / IME.
pub(crate) const IME_ACTION_SHOW: &str = "show";

/// Native action argument instructing the host OS to dismiss the system soft keyboard / IME.
pub(crate) const IME_ACTION_HIDE: &str = "hide";

/// Inactive scrollbar thumb drag axis sentinel.
pub(crate) const SCROLLBAR_AXIS_NONE: u8 = 0;

/// Active vertical right-edge scrollbar thumb drag axis.
pub(crate) const SCROLLBAR_AXIS_VERTICAL: u8 = 1;

/// Active horizontal bottom-edge scrollbar thumb drag axis.
pub(crate) const SCROLLBAR_AXIS_HORIZONTAL: u8 = 2;

/// Maximum elapsed seconds between consecutive clicks on the same text node for double/triple-click selection.
pub(crate) const TEXT_MULTI_CLICK_MAX_SECS: f32 = 0.45;

/// Maximum pointer drift in logical pixels allowed between consecutive clicks for double/triple-click selection.
pub(crate) const TEXT_MULTI_CLICK_MAX_DIST_DP: f32 = 16.0;

/// Uncapped upper display refresh ceiling in Hertz enforced by the app runner pacing and telemetry math.
pub(crate) const RUNNER_MAX_REFRESH_RATE_HZ: f32 = 1000.0;

/// Maximum inter-event gap in nanoseconds for classifying consecutive scroll deltas as a precision trackpad/touch stream (28 ms).
pub(crate) const PRECISION_SCROLL_STREAM_MAX_GAP_NS: u64 = 28_000_000;

/// Minimum single-event delta in logical pixels treated as a discrete mouse-wheel detent when no precision stream is active.
pub(crate) const DISCRETE_WHEEL_DETENT_MIN_DP: f32 = 24.0;

/// Exponential velocity decay constant (`1/s`) for frame-rate-invariant smooth scroll inertia.
pub(crate) const SCROLL_INERTIA_DECAY_RATE: f32 = 3.2;