pub struct DocumentA11yNode {Show 13 fields
pub id: DocumentA11yNodeId,
pub parent: Option<DocumentA11yNodeId>,
pub children: Vec<DocumentA11yNodeId>,
pub role: DocumentA11yRole,
pub name: Option<String>,
pub description: Option<String>,
pub value: Option<String>,
pub numeric_value: Option<f64>,
pub numeric_minimum: Option<f64>,
pub numeric_maximum: Option<f64>,
pub bounds: Option<DocumentA11yBounds>,
pub state: DocumentA11yState,
pub actions: Vec<DocumentA11yAction>,
}Expand description
One semantic node in a renderer-neutral document projection.
Fields§
§id: DocumentA11yNodeId§parent: Option<DocumentA11yNodeId>§children: Vec<DocumentA11yNodeId>Ordered local child identities. This is authoritative for traversal;
parent is retained for efficient reverse lookup and validation.
role: DocumentA11yRole§name: Option<String>§description: Option<String>Supplemental text, separate from the control name and current value.
value: Option<String>§numeric_value: Option<f64>§numeric_minimum: Option<f64>§numeric_maximum: Option<f64>§bounds: Option<DocumentA11yBounds>§state: DocumentA11yState§actions: Vec<DocumentA11yAction>Trait Implementations§
Source§impl Clone for DocumentA11yNode
impl Clone for DocumentA11yNode
Source§impl Debug for DocumentA11yNode
impl Debug for DocumentA11yNode
Source§impl<'de> Deserialize<'de> for DocumentA11yNode
impl<'de> Deserialize<'de> for DocumentA11yNode
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
Source§impl PartialEq for DocumentA11yNode
impl PartialEq for DocumentA11yNode
Source§impl Serialize for DocumentA11yNode
impl Serialize for DocumentA11yNode
impl StructuralPartialEq for DocumentA11yNode
Auto Trait Implementations§
impl Forget for DocumentA11yNode
impl Freeze for DocumentA11yNode
impl RefUnwindSafe for DocumentA11yNode
impl Send for DocumentA11yNode
impl Sync for DocumentA11yNode
impl Unpin for DocumentA11yNode
impl UnsafeUnpin for DocumentA11yNode
impl UnwindSafe for DocumentA11yNode
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