Skip to main content

Module model

Module model 

Source
Expand description

The element tree the debugger works on: egui’s own AccessKit output (every egui widget: role, label, value, state, bounds) merged with ashlar’s automation registry (stable dotted ids, component roles, values egui does not expose), with short refs (e12) that stay the same for an element across snapshots.

Structs§

Hit
What a target resolved to.
Miss
A target that matched nothing.
Model
The element tree of one frame.
Node
One element.
Outline
What a snapshot lists.
Refs
Refs handed out so far: the same key always gets the same ref.
Sources
What Model::build reads.

Enums§

Target
What a request acts on.

Constants§

MAX_NODES
Most elements one model holds (a runaway UI must not make a snapshot unbounded).

Functions§

ak_role
The role name of an AccessKit role.
ashlar_role
The role name of an ashlar component role (None for Other: keep egui’s).
rect_json
[x, y, w, h], to a tenth of a point.