Skip to main content

Module host_event

Module host_event 

Source
Expand description

Host-neutral input events flowing from platform adapters into the runtime.

HostEvent is a serialisable, platform-agnostic UI event that gets fed into either the egui or iced hosts for parity verification and golden replay. Pre-M4 slice 8 (2026-04-22) these types lived in shell/desktop/workbench/ux_replay.rs next to the replay session driver; the session itself (UxReplaySession) carries a UxTreeSnapshot that stays shell-side, but the event vocabulary is portable and moves here so FrameHostInput.events: Vec<HostEvent> can live in kernel.

The shell crate re-exports these types from ux_replay.rs so existing import paths resolve unchanged.

Structs§

ModifiersState

Enums§

HostEvent
Represents a platform-agnostic UI event that can be serialized, deserialized, and fed into either the egui or expected iced hosts for parity verification and golden testing.
PointerButton