#[repr(u8)]pub enum AccessibleAction {
Show 22 variants
Click = 0,
Focus = 1,
Blur = 2,
Collapse = 3,
Expand = 4,
CustomAction = 5,
Decrement = 6,
Increment = 7,
HideTooltip = 8,
ShowTooltip = 9,
ReplaceSelectedText = 10,
ScrollDown = 11,
ScrollLeft = 12,
ScrollRight = 13,
ScrollUp = 14,
ScrollIntoView = 15,
ScrollToPoint = 16,
SetScrollOffset = 17,
SetTextSelection = 18,
SetSequentialFocusNavigationStartingPoint = 19,
SetValue = 20,
ShowContextMenu = 21,
}Expand description
An action to be taken on an accessibility node.
Variants§
Click = 0
Do the equivalent of a single click or tap.
Focus = 1
Blur = 2
Collapse = 3
Expand = 4
CustomAction = 5
Requires ActionRequest::data to be set to ActionData::CustomAction.
Decrement = 6
Decrement a numeric value by one step.
Increment = 7
Increment a numeric value by one step.
HideTooltip = 8
ShowTooltip = 9
ReplaceSelectedText = 10
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.
ScrollDown = 11
Scroll down by the specified unit.
ScrollLeft = 12
Scroll left by the specified unit.
ScrollRight = 13
Scroll right by the specified unit.
ScrollUp = 14
Scroll up by the specified unit.
ScrollIntoView = 15
Scroll any scrollable containers to make the target node visible.
Optionally set ActionRequest::data to ActionData::ScrollHint.
ScrollToPoint = 16
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 = 17
Requires ActionRequest::data to be set to ActionData::SetScrollOffset.
SetTextSelection = 18
Requires ActionRequest::data to be set to ActionData::SetTextSelection.
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 = 20
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 = 21
Trait Implementations§
impl Copy for Action
impl Eq for Action
Source§impl Ord for Action
impl Ord for Action
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Action
impl PartialOrd for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more