#[repr(C)]pub enum A11yRole {
Button = 0,
Link = 1,
Image = 2,
Header = 3,
Adjustable = 4,
}Expand description
Accessibility role for Widget::A11y — the control type announced to a screen reader. Maps
best-effort per platform: iOS accessibility traits, Android semantics role / heading(), web ARIA role.
Variants§
Trait Implementations§
impl Copy for A11yRole
Source§impl<'de> Deserialize<'de> for A11yRole
impl<'de> Deserialize<'de> for A11yRole
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 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 UnsafeUnpin for A11yRole
impl UnwindSafe for A11yRole
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