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. - Node
Geometry Observations - Display and layout facts for one protocol-v2 semantic node.
- Pointer
HitGrid - Compressed exact fresh-pointer routing grid for a completed frame.
- Pointer
HitRegion - 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.
Nonemeans “not asserted”, not “false”. - Text
Range - Maps grapheme offsets of a node’s text onto cell coordinates.
Enums§
- Checked
- Whether a tri-state control is on, off, or partially selected.
- Cursor
Shape - Cursor rendering style.
- Mixed
State - 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.