Module input

Source
Expand description

Input routing, focus, and hit-testing. Input routing: hit-test, focus, pointer/keyboard, and text editing helpers.

Re-exports§

pub use chrome::ChromeAction;
pub use chrome::CursorStyle;
pub use chrome::ResizeEdge;
pub use click_action::ClickAction;
pub use click_action::DeferredAction;
pub use click_action::IntoClickAction;
pub use element_event_router::absolute_paint_bounds;
pub use element_event_router::collect_hit_rects;
pub use element_event_router::dispatch_event_bubbling;
pub use element_event_router::dispatch_event_envelope_bubbling;
pub use element_event_router::dispatch_event_envelope_to_target;
pub use element_event_router::dispatch_event_to_target;
pub use element_event_router::hit_test_overlay_target;
pub use element_event_router::hit_test_target;
pub use event_ctx::EventContext;
pub use event_ctx::EventCtx;
pub use event_envelope::EventEnvelope;
pub use event_envelope::EventId;
pub use event_envelope::EventMeta;
pub use event_envelope::EventTimestamp;
pub use focus::ActivationPolicy;
pub use focus::FocusManager;
pub use focus::FocusPolicy;
pub use focus::HoverCursorRole;
pub use focus::InputRole;
pub use hit_test::HitTestEngine;
pub use input_router::Action;
pub use input_router::InputInteraction;
pub use input_router::InputRouter;
pub use input_router::InputSnapshot;
pub use input_router::RouteOutcome;
pub use text_edit::EditCmd;
pub use text_edit::Selection;

Modules§

chrome
Chrome implementation details. Platform-window chrome actions produced by input routing.
click_action
Click action implementation details. Type-erased click callbacks dispatched through an event context.
element_event_router
Element event router implementation details. Event routing for a single retained element and its interaction metadata.
event_ctx
Event ctx implementation details. Event-dispatch context for actions, invalidation, focus, and external URLs.
event_envelope
Event envelope implementation details. Host correlation metadata wrapped around provider-neutral runtime events.
focus
Focus implementation details. Keyboard-focus policy and focus-transition helpers.
hit_test
Hit test implementation details. Rectangle hit-testing primitives for retained elements.
input_router
Input router implementation details. Stateful pointer, keyboard, focus, and activation routing for a retained tree.
text_edit
Text edit implementation details. Compatibility text-selection and editing command values.