pub struct ScrapedAriaRole {Show 16 fields
pub name: String,
pub implicit_values: Option<String>,
pub is_abstract: bool,
pub base: Option<String>,
pub are_children_presentational: bool,
pub children: Vec<String>,
pub disallowed: Vec<String>,
pub inherited: Vec<String>,
pub must_contain: Vec<String>,
pub name_from: Option<String>,
pub is_name_required: bool,
pub parent: Vec<String>,
pub properties: Vec<String>,
pub related: Option<String>,
pub required: Vec<String>,
pub scope: Vec<String>,
}
Expand description
The raw role values extracted from the WAI-ARIA spec
Fields§
§name: String
§implicit_values: Option<String>
Implicit value for role
is_abstract: bool
§base: Option<String>
Base concept
are_children_presentational: bool
§children: Vec<String>
Subclass roles
disallowed: Vec<String>
Prohibited states and properties
inherited: Vec<String>
Inherited states and properties
must_contain: Vec<String>
Allowed accessibility child roles
name_from: Option<String>
§is_name_required: bool
§parent: Vec<String>
Superclass role
properties: Vec<String>
Supported states and properties
Related concepts
required: Vec<String>
Required states and properties
scope: Vec<String>
Required accessibility parent roles
Trait Implementations§
Source§impl Clone for ScrapedAriaRole
impl Clone for ScrapedAriaRole
Source§fn clone(&self) -> ScrapedAriaRole
fn clone(&self) -> ScrapedAriaRole
Returns a copy 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 ScrapedAriaRole
impl Debug for ScrapedAriaRole
Source§impl<'de> Deserialize<'de> for ScrapedAriaRole
impl<'de> Deserialize<'de> for ScrapedAriaRole
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
Auto Trait Implementations§
impl Freeze for ScrapedAriaRole
impl RefUnwindSafe for ScrapedAriaRole
impl Send for ScrapedAriaRole
impl Sync for ScrapedAriaRole
impl Unpin for ScrapedAriaRole
impl UnwindSafe for ScrapedAriaRole
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