pub enum A11yRole {
Show 14 variants
Window,
Button,
Label,
TextInput,
Menu,
MenuItem,
Toolbar,
Scrollbar,
List,
ListItem,
Dialog,
Alert,
Separator,
Image,
}Expand description
Accessibility role for a UI element (WAI-ARIA subset).
Variants§
Window
Top-level window.
Button
Clickable button.
Label
Static text label.
TextInput
Text input field.
Menu
Pop-up or pull-down menu.
MenuItem
An item within a menu.
Toolbar
Toolbar container.
Scrollbar
Scroll bar control.
List
A list container.
ListItem
An item within a list.
Dialog
Modal or non-modal dialog.
Alert
Alert or notification.
Separator
Visual separator.
Image
Image or icon.
Trait Implementations§
impl Copy for A11yRole
impl Eq for A11yRole
impl StructuralPartialEq for A11yRole
Auto Trait Implementations§
impl Freeze for A11yRole
impl RefUnwindSafe for A11yRole
impl Send for A11yRole
impl Sync for A11yRole
impl Unpin for A11yRole
impl UnwindSafe for A11yRole
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)