#[repr(C)]pub struct AccessibilityInfo {
pub name: OptionAzString,
pub value: OptionAzString,
pub role: AccessibilityRole,
pub states: AccessibilityStateVec,
pub accelerator: OptionVirtualKeyCodeCombo,
pub default_action: OptionAzString,
}Expand description
Accessibility information (MSAA wrapper). See NodeData.set_accessibility_info()
Fields§
§name: OptionAzStringGet the “name” of the IAccessible, for example the
name of a button, checkbox or menu item. Try to use unique names
for each item in a dialog so that voice dictation software doesn’t
have to deal with extra ambiguity
value: OptionAzStringGet the “value” of the IAccessible, for example a number in a slider,
a URL for a link, the text a user entered in a field.
role: AccessibilityRoleGet an enumerated value representing what this IAccessible is used for, for example is it a link, static text, editable text, a checkbox, or a table cell, etc.
states: AccessibilityStateVecPossible on/off states, such as focused, focusable, selected, selectable, visible, protected (for passwords), checked, etc.
accelerator: OptionVirtualKeyCodeComboOptional keyboard accelerator
default_action: OptionAzStringOptional “default action” description. Only used when there is at least
one ComponentEventFilter::DefaultAction callback present on this node
Trait Implementations§
Source§impl Clone for AccessibilityInfo
impl Clone for AccessibilityInfo
Source§fn clone(&self) -> AccessibilityInfo
fn clone(&self) -> AccessibilityInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AccessibilityInfo
impl Debug for AccessibilityInfo
Source§impl Hash for AccessibilityInfo
impl Hash for AccessibilityInfo
Source§impl Ord for AccessibilityInfo
impl Ord for AccessibilityInfo
Source§fn cmp(&self, other: &AccessibilityInfo) -> Ordering
fn cmp(&self, other: &AccessibilityInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AccessibilityInfo
impl PartialEq for AccessibilityInfo
Source§impl PartialOrd for AccessibilityInfo
impl PartialOrd for AccessibilityInfo
impl Eq for AccessibilityInfo
impl StructuralPartialEq for AccessibilityInfo
Auto Trait Implementations§
impl Freeze for AccessibilityInfo
impl RefUnwindSafe for AccessibilityInfo
impl Send for AccessibilityInfo
impl Sync for AccessibilityInfo
impl Unpin for AccessibilityInfo
impl UnwindSafe for AccessibilityInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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