pub enum Action {
Show 26 variants Default, Focus, Blur, Collapse, Expand, CustomAction, Decrement, Increment, HideTooltip, ShowTooltip, InvalidateTree, LoadInlineTextBoxes, ReplaceSelectedText, ScrollBackward, ScrollDown, ScrollForward, ScrollLeft, ScrollRight, ScrollUp, ScrollIntoView, ScrollToPoint, SetScrollOffset, SetTextSelection, SetSequentialFocusNavigationStartingPoint, SetValue, ShowContextMenu,
}
Expand description

An action to be taken on an accessibility node.

In contrast to DefaultActionVerb, these describe what happens to the object, e.g. “focus”.

Variants

Default

Do the default action for an object, typically this means “click”.

Focus

Blur

Collapse

Expand

CustomAction

Decrement

Decrement a numeric value by one step.

Increment

Increment a numeric value by one step.

HideTooltip

ShowTooltip

InvalidateTree

Request that the tree source invalidate its entire tree.

LoadInlineTextBoxes

Load inline text boxes for this subtree, providing information about word boundaries, line layout, and individual character bounding boxes.

ReplaceSelectedText

Delete any selected text in the control’s text value and insert the specified value in its place, like when typing or pasting. Requires ActionRequest::data to be set to ActionData::Value.

ScrollBackward

ScrollDown

ScrollForward

ScrollLeft

ScrollRight

ScrollUp

ScrollIntoView

Scroll any scrollable containers to make the target object visible on the screen. Optionally set ActionRequest::data to ActionData::ScrollTargetRect.

ScrollToPoint

Scroll the given object to a specified point in the tree’s container (e.g. window). Requires ActionRequest::data to be set to ActionData::ScrollToPoint.

SetScrollOffset

SetTextSelection

SetSequentialFocusNavigationStartingPoint

Don’t focus this node, but set it as the sequential focus navigation starting point, so that pressing Tab moves to the next element following this one, for example.

SetValue

Replace the value of the control with the specified value and reset the selection, if applicable. Requires ActionRequest::data to be set to ActionData::Value or ActionData::NumericValue.

ShowContextMenu

Trait Implementations

The resulting type after applying the & operator.
Performs the & operation. Read more
The resulting type after applying the | operator.
Performs the | operation. Read more
The resulting type after applying the ^ operator.
Performs the ^ operation. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
The underlying type used to store the bitset.
A mask of bits that are valid in the bitset.
Converts an enum of this type into its bit position.
Converts a bit position into an enum value.
Serializes the EnumSet. Read more
Deserializes the EnumSet.
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
The resulting type after applying the ! operator.
Performs the unary ! operation. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.