pub struct AccessibilitySnapshot {
pub nodes: Vec<AccessibilityNode>,
}Expand description
Accessibility snapshot.
Fields§
§nodes: Vec<AccessibilityNode>Root accessibility nodes.
Implementations§
Source§impl AccessibilitySnapshot
impl AccessibilitySnapshot
Sourcepub fn text_content(&self) -> String
pub fn text_content(&self) -> String
Extracts readable text in deterministic tree order.
Trait Implementations§
Source§impl Clone for AccessibilitySnapshot
impl Clone for AccessibilitySnapshot
Source§fn clone(&self) -> AccessibilitySnapshot
fn clone(&self) -> AccessibilitySnapshot
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 AccessibilitySnapshot
impl Debug for AccessibilitySnapshot
Source§impl PartialEq for AccessibilitySnapshot
impl PartialEq for AccessibilitySnapshot
Source§fn eq(&self, other: &AccessibilitySnapshot) -> bool
fn eq(&self, other: &AccessibilitySnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AccessibilitySnapshot
impl StructuralPartialEq for AccessibilitySnapshot
Auto Trait Implementations§
impl Freeze for AccessibilitySnapshot
impl RefUnwindSafe for AccessibilitySnapshot
impl Send for AccessibilitySnapshot
impl Sync for AccessibilitySnapshot
impl Unpin for AccessibilitySnapshot
impl UnsafeUnpin for AccessibilitySnapshot
impl UnwindSafe for AccessibilitySnapshot
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