pub enum DocumentA11yRole {
Show 49 variants
Window,
Document,
Article,
Region,
Group,
Navigation,
Main,
Heading {
level: u8,
},
Paragraph,
StaticText,
Link,
Button,
TextField,
CheckBox,
RadioButton,
RadioGroup,
Switch,
ComboBox,
List,
ListItem,
ListBox,
ListBoxOption,
Table,
Row,
Cell,
Image,
Form,
Dialog,
Alert,
Menu,
MenuBar,
MenuItem,
MenuItemCheckBox,
MenuItemRadio,
TabList,
Tab,
TabPanel,
Tree,
TreeItem,
Slider,
SpinButton,
Splitter,
Toolbar,
ProgressIndicator,
Label,
Status,
Log,
Note,
Unknown,
}Expand description
Semantic role vocabulary shared by retained document engines.
This deliberately describes document semantics rather than mirroring any particular platform accessibility API. A host owns its platform lowering.
Variants§
Window
Document
Article
Region
Group
Main
Heading
Paragraph
StaticText
Link
Button
TextField
CheckBox
RadioButton
RadioGroup
Switch
ComboBox
List
ListItem
ListBox
ListBoxOption
Table
Row
Cell
Image
Form
Dialog
Alert
Menu
MenuBar
MenuItem
MenuItemCheckBox
MenuItemRadio
TabList
Tab
TabPanel
Tree
TreeItem
Slider
SpinButton
Splitter
Toolbar
ProgressIndicator
Label
Status
Log
Note
Unknown
Trait Implementations§
Source§impl Clone for DocumentA11yRole
impl Clone for DocumentA11yRole
impl Copy for DocumentA11yRole
Source§impl Debug for DocumentA11yRole
impl Debug for DocumentA11yRole
Source§impl<'de> Deserialize<'de> for DocumentA11yRole
impl<'de> Deserialize<'de> for DocumentA11yRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DocumentA11yRole
Source§impl PartialEq for DocumentA11yRole
impl PartialEq for DocumentA11yRole
Source§impl Serialize for DocumentA11yRole
impl Serialize for DocumentA11yRole
impl StructuralPartialEq for DocumentA11yRole
Auto Trait Implementations§
impl Forget for DocumentA11yRole
impl Freeze for DocumentA11yRole
impl Move for DocumentA11yRole
impl RefUnwindSafe for DocumentA11yRole
impl Send for DocumentA11yRole
impl Sync for DocumentA11yRole
impl Unpin for DocumentA11yRole
impl UnsafeUnpin for DocumentA11yRole
impl UnwindSafe for DocumentA11yRole
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