pub struct AccessibilityNode {
pub role: String,
pub name: String,
pub children: Vec<AccessibilityNode>,
}Expand description
Accessibility tree node.
Fields§
§role: StringRole such as heading, link, or button.
name: StringAccessible name.
children: Vec<AccessibilityNode>Child nodes.
Implementations§
Trait Implementations§
Source§impl Clone for AccessibilityNode
impl Clone for AccessibilityNode
Source§fn clone(&self) -> AccessibilityNode
fn clone(&self) -> AccessibilityNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccessibilityNode
impl Debug for AccessibilityNode
Source§impl PartialEq for AccessibilityNode
impl PartialEq for AccessibilityNode
Source§fn eq(&self, other: &AccessibilityNode) -> bool
fn eq(&self, other: &AccessibilityNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AccessibilityNode
impl StructuralPartialEq for AccessibilityNode
Auto Trait Implementations§
impl Freeze for AccessibilityNode
impl RefUnwindSafe for AccessibilityNode
impl Send for AccessibilityNode
impl Sync for AccessibilityNode
impl Unpin for AccessibilityNode
impl UnsafeUnpin for AccessibilityNode
impl UnwindSafe for AccessibilityNode
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