pub struct A11ySnapshot {
pub found: bool,
pub role: Role,
pub label: Option<String>,
pub value: Option<String>,
pub identifier: Option<String>,
}Expand description
A widget’s ACTUAL native accessibility properties, read back by Toolkit::read_a11y so
a11y_audit (§14.2) can diff the native tree against Day’s expectation. role is the native
role mapped back to Day’s Role (best-effort); found = false means the backend can’t read
the native tree (audit skips the node).
Fields§
§found: bool§role: Role§label: Option<String>§value: Option<String>§identifier: Option<String>Trait Implementations§
Source§impl Clone for A11ySnapshot
impl Clone for A11ySnapshot
Source§fn clone(&self) -> A11ySnapshot
fn clone(&self) -> A11ySnapshot
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 A11ySnapshot
impl Debug for A11ySnapshot
Source§impl Default for A11ySnapshot
impl Default for A11ySnapshot
Source§fn default() -> A11ySnapshot
fn default() -> A11ySnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for A11ySnapshot
impl PartialEq for A11ySnapshot
Source§fn eq(&self, other: &A11ySnapshot) -> bool
fn eq(&self, other: &A11ySnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for A11ySnapshot
Auto Trait Implementations§
impl Freeze for A11ySnapshot
impl RefUnwindSafe for A11ySnapshot
impl Send for A11ySnapshot
impl Sync for A11ySnapshot
impl Unpin for A11ySnapshot
impl UnsafeUnpin for A11ySnapshot
impl UnwindSafe for A11ySnapshot
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