#[repr(C)]pub enum AccessibilityRole {
Show 64 variants
TitleBar = 0,
MenuBar = 1,
ScrollBar = 2,
Grip = 3,
Sound = 4,
Cursor = 5,
Caret = 6,
Alert = 7,
Window = 8,
Client = 9,
MenuPopup = 10,
MenuItem = 11,
Tooltip = 12,
Application = 13,
Document = 14,
Pane = 15,
Chart = 16,
Dialog = 17,
Border = 18,
Grouping = 19,
Separator = 20,
Toolbar = 21,
StatusBar = 22,
Table = 23,
ColumnHeader = 24,
RowHeader = 25,
Column = 26,
Row = 27,
Cell = 28,
Link = 29,
HelpBalloon = 30,
Character = 31,
List = 32,
ListItem = 33,
Outline = 34,
OutlineItem = 35,
Pagetab = 36,
PropertyPage = 37,
Indicator = 38,
Graphic = 39,
StaticText = 40,
Text = 41,
PushButton = 42,
CheckButton = 43,
RadioButton = 44,
ComboBox = 45,
DropList = 46,
ProgressBar = 47,
Dial = 48,
HotkeyField = 49,
Slider = 50,
SpinButton = 51,
Diagram = 52,
Animation = 53,
Equation = 54,
ButtonDropdown = 55,
ButtonMenu = 56,
ButtonDropdownGrid = 57,
Whitespace = 58,
PageTabList = 59,
Clock = 60,
SplitButton = 61,
IpAddress = 62,
Nothing = 63,
}Expand description
MSAA Accessibility role constants. For information on what each role does, see the MSDN Role Constants page.
Variants§
TitleBar = 0
Inserted by operating system
MenuBar = 1
ScrollBar = 2
Grip = 3
Sound = 4
Cursor = 5
Caret = 6
Alert = 7
Window = 8
Inserted by operating system
Client = 9
MenuPopup = 10
MenuItem = 11
Tooltip = 12
Application = 13
Document = 14
Pane = 15
Chart = 16
Dialog = 17
Border = 18
Grouping = 19
Separator = 20
Toolbar = 21
StatusBar = 22
Table = 23
ColumnHeader = 24
RowHeader = 25
Column = 26
Row = 27
Cell = 28
Link = 29
HelpBalloon = 30
Character = 31
List = 32
ListItem = 33
Outline = 34
OutlineItem = 35
Pagetab = 36
PropertyPage = 37
Indicator = 38
Graphic = 39
StaticText = 40
Text = 41
PushButton = 42
CheckButton = 43
RadioButton = 44
ComboBox = 45
DropList = 46
ProgressBar = 47
Dial = 48
HotkeyField = 49
Slider = 50
SpinButton = 51
Diagram = 52
Animation = 53
Equation = 54
ButtonDropdown = 55
ButtonMenu = 56
ButtonDropdownGrid = 57
Whitespace = 58
PageTabList = 59
Clock = 60
SplitButton = 61
IpAddress = 62
Nothing = 63
Trait Implementations§
Source§impl Clone for AccessibilityRole
impl Clone for AccessibilityRole
Source§fn clone(&self) -> AccessibilityRole
fn clone(&self) -> AccessibilityRole
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccessibilityRole
impl Debug for AccessibilityRole
Source§impl Hash for AccessibilityRole
impl Hash for AccessibilityRole
Source§impl Ord for AccessibilityRole
impl Ord for AccessibilityRole
Source§fn cmp(&self, other: &AccessibilityRole) -> Ordering
fn cmp(&self, other: &AccessibilityRole) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AccessibilityRole
impl PartialEq for AccessibilityRole
Source§impl PartialOrd for AccessibilityRole
impl PartialOrd for AccessibilityRole
impl Copy for AccessibilityRole
impl Eq for AccessibilityRole
impl StructuralPartialEq for AccessibilityRole
Auto Trait Implementations§
impl Freeze for AccessibilityRole
impl RefUnwindSafe for AccessibilityRole
impl Send for AccessibilityRole
impl Sync for AccessibilityRole
impl Unpin for AccessibilityRole
impl UnwindSafe for AccessibilityRole
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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