Skip to main content

Module types

Module types 

Source

Structs§

ActOutput
Output of computer_act.
AppInfo
One running application, as reported by computer_apps.
AppsOutput
Output of computer_apps.
ComputerAct
Input for computer_act — ONE step of a semantic pipeline: either an accessibility action on the element matched by selector, a keyboard action (key/text), or a wait pause — chained via then with shell && semantics.
ComputerApps
Input for computer_apps.
ComputerControl
Input for computer_control — one step of a desktop-control pipeline: EITHER a pointer action (click/scroll/move/drag — key/text absent) OR a keyboard action (key or text), at raw coordinates or on an accessibility-tree element.
ComputerScreenshot
Input for computer_screenshot.
ComputerSnapshot
Input for computer_snapshot.
ComputerWait
Input for computer_wait — block until a selector in a target app reaches a state, or time out with a diagnosis of the last observed state.
ControlOutput
Output of computer_control.
ElementStates
The element states a snapshot reports, normalized from the platform’s xa11y::StateSet.
FocusedElement
The element holding keyboard focus inside the foreground application, reported by computer_apps with target: "focused".
FocusedOutput
Output of computer_apps with target: "focused".
LegendEntryOutput
One legend entry of an annotated capture: a box on the image plus the selector that reaches the element it labels.
OmissionOutput
An element the annotation selector matched but that could not be drawn.
ScreenshotOutput
Output of computer_screenshot.
SnapshotOutput
Output of computer_snapshot.
StateNode
One element of the rendered snapshot: role, name, value, current states and children.
WaitObservation
What the watched element looked like when the wait resolved.
WaitOutput
Output of computer_wait when the condition was met in time.

Enums§

ActAction
Action to perform on the element matched by selector.
AppsTarget
What computer_apps should report.
PointerAction
Pointer action to perform at desktop coordinates.
PointerAnchor
Where a pointer action lands inside the element’s bounds.
SnapshotFormat
Output format for computer_snapshot.
SurfaceKind
Which OS shell surface to target instead of an application — the parts of the desktop OUTSIDE any app: menu bar, Dock/taskbar/panel, tray status items, the desktop itself, transient flyouts (Notification Center, Quick Settings, shell context menus). Mirrors xa11y’s xa11y::ShellSurfaceKind exactly (same snake_case wire spelling).
ToggleState
Tri-state toggle value for a checkable control (checked in ElementStates).
WaitState
The condition computer_wait watches, mirroring xa11y’s xa11y::ElementState (the same vocabulary computer_snapshot reports as state tokens).