Skip to main content

Module tree

Module tree 

Source
Expand description

Semantic tree DTOs.

Unset optionals are omitted from the wire form: the schema is strict, so an explicit null is a validation failure rather than “absent”.

Structs§

Cursor
Terminal cursor position, in viewport cells.
Node
One accessible node. bounds, when present, are absolute viewport cells.
NodeGeometryObservations
Display and layout facts for one protocol-v2 semantic node.
PointerHitGrid
Compressed exact fresh-pointer routing grid for a completed frame.
PointerHitRegion
One non-overlapping rectangle owned by an exact pointer recipient.
Rect
Zero-based viewport cell rectangle.
Snapshot
The whole tree for one committed render.
State
The closed state set. None means “not asserted”, not “false”.
TextRange
Maps grapheme offsets of a node’s text onto cell coordinates.

Enums§

Checked
Whether a tri-state control is on, off, or partially selected.
CursorShape
Cursor rendering style.
MixedState
The "mixed" literal, as its own type so serde can keep the schema closed.
Observation
Evidence-qualified fact. Unknown and unsupported are never coerced to false.
Occlusion
Whether covered cells are answerable for a node.
Orientation
Layout direction of a composite widget.
Provenance
Where a semantic fact came from. Closed set.