pub enum AriaRole {
Show 83 variants
Alert,
Alertdialog,
Application,
Article,
Banner,
Blockquote,
Button,
Caption,
Cell,
Checkbox,
Code,
Columnheader,
Combobox,
Complementary,
Contentinfo,
Definition,
Deletion,
Dialog,
Directory,
Document,
Embed,
Figure,
Footer,
Form,
Generic,
Grid,
Gridcell,
Group,
Heading,
Img,
Image,
Insertion,
Link,
List,
Listbox,
Listitem,
Log,
Main,
Marquee,
Math,
Menu,
Menubar,
Menuitem,
Menuitemcheckbox,
Menuitemradio,
Meter,
Navigation,
None,
Note,
Option,
Paragraph,
Presentation,
Progressbar,
Radio,
Radiogroup,
Region,
Row,
Rowgroup,
Rowheader,
Scrollbar,
Search,
Searchbox,
Separator,
Slider,
Spinbutton,
Status,
Strong,
Subscript,
Superscript,
Switch,
Tab,
Table,
Tablist,
Tabpanel,
Term,
Textbox,
Time,
Timer,
Toolbar,
Tooltip,
Tree,
Treegrid,
Treeitem,
}Expand description
An ARIA role, used by get_by_role.
Mirrors Playwright’s AriaRole set.
Variants§
Alert
Alertdialog
Application
Article
Banner
Blockquote
Button
Caption
Cell
Checkbox
Code
Columnheader
Combobox
Complementary
Contentinfo
Definition
Deletion
Dialog
Directory
Document
Embed
Figure
Form
Generic
Grid
Gridcell
Group
Heading
Img
Image
Insertion
Link
List
Listbox
Listitem
Log
Main
Marquee
Math
Menu
Menubar
Menuitem
Menuitemcheckbox
Menuitemradio
Meter
None
Note
Option
Paragraph
Presentation
Progressbar
Radio
Radiogroup
Region
Row
Rowgroup
Rowheader
Scrollbar
Search
Searchbox
Separator
Slider
Status
Strong
Subscript
Superscript
Switch
Tab
Table
Tablist
Tabpanel
Term
Textbox
Time
Timer
Toolbar
Tooltip
Tree
Treegrid
Treeitem
Implementations§
Trait Implementations§
impl Copy for AriaRole
impl Eq for AriaRole
impl StructuralPartialEq for AriaRole
Auto Trait Implementations§
impl Freeze for AriaRole
impl RefUnwindSafe for AriaRole
impl Send for AriaRole
impl Sync for AriaRole
impl Unpin for AriaRole
impl UnsafeUnpin for AriaRole
impl UnwindSafe for AriaRole
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