Skip to main content

Module runtime

Module runtime 

Source

Structs§

App
DispatchOutcome
DomQuery
Snapshot-style query result over arena node ids.
DomQueryMut
Mutable query handle with chainable bulk mutation helpers.

Functions§

apply_text_overflow_to_line
Apply text-overflow truncation to a line of segments.
build_widget_tree_from_root
Build an arena-based WidgetTree from a root widget without requiring a full App instance.
call_on_mouse_move_tree
Forward on_mouse_move through the target bubble path (target → root).
constrain_overlay_position
Apply axis-specific constrain to an overlay position.
dispatch_event_to_target_tree
Dispatch an event to a specific target node using the arena tree.
dispatch_event_tree
Dispatch an event through the arena tree using capture + bubble phases.
focused_node_id_tree
Find the currently focused node by walking the entire tree depth-first.
render_tree_to_frame
Render a widget tree to a FrameBuffer without requiring a full App.
render_tree_to_frame_with_debug
Render a widget tree to a FrameBuffer with optional debug-layout overlay.
render_tree_to_frame_with_stylesheet
Render a widget tree to a FrameBuffer using an explicit stylesheet.
resolve_axis_constrain
Resolve axis-specific constrain values for overlay positioning.
resolve_transition_for_property
Resolve per-property transition parameters from a CSS [Style].
run_layout_pass
Run the CSS-layout pass on the widget tree.
text_overflow_mode
Check if a style has text-wrap: nowrap and return the text-overflow mode.
tree_content_local_coords
Translate screen coordinates to content-local coordinates using tree node geometry (prefers content_rect, falls back to layout_rect).
widget_at_tree_layout
Find the deepest visible node at a screen coordinate using tree layout geometry, independent of rendered segment metadata.