#[non_exhaustive]pub enum SemanticsRole {
Show 44 variants
Generic,
Window,
Panel,
Group,
Region,
Toolbar,
Heading,
Dialog,
AlertDialog,
Alert,
Status,
Log,
Button,
Link,
Image,
Checkbox,
Switch,
Slider,
SpinButton,
ProgressBar,
Meter,
ScrollBar,
Splitter,
ComboBox,
RadioGroup,
RadioButton,
TabList,
Tab,
TabPanel,
MenuBar,
Menu,
MenuItem,
MenuItemCheckbox,
MenuItemRadio,
Tooltip,
Text,
TextField,
List,
ListItem,
Separator,
ListBox,
ListBoxOption,
TreeItem,
Viewport,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generic
Window
Panel
Group
Region
A landmark region.
This is primarily used to model ARIA role="region" outcomes in ports of DOM-first
component libraries (e.g. Radix Accordion content panels).
Toolbar
Heading
Dialog
AlertDialog
Alert
Status
A non-interactive advisory live region (ARIA role="status").
Log
A chronological stream of advisory updates (ARIA role="log").
Button
Link
Image
Checkbox
Switch
Slider
SpinButton
ProgressBar
Meter
ScrollBar
Splitter
ComboBox
RadioGroup
RadioButton
TabList
Tab
TabPanel
MenuBar
Menu
MenuItem
MenuItemCheckbox
MenuItemRadio
Tooltip
Text
TextField
List
ListItem
Separator
ListBox
ListBoxOption
TreeItem
Viewport
Trait Implementations§
Source§impl Clone for SemanticsRole
impl Clone for SemanticsRole
Source§fn clone(&self) -> SemanticsRole
fn clone(&self) -> SemanticsRole
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 SemanticsRole
impl Debug for SemanticsRole
Source§impl PartialEq for SemanticsRole
impl PartialEq for SemanticsRole
impl Copy for SemanticsRole
impl Eq for SemanticsRole
impl StructuralPartialEq for SemanticsRole
Auto Trait Implementations§
impl Freeze for SemanticsRole
impl RefUnwindSafe for SemanticsRole
impl Send for SemanticsRole
impl Sync for SemanticsRole
impl Unpin for SemanticsRole
impl UnsafeUnpin for SemanticsRole
impl UnwindSafe for SemanticsRole
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