pub struct AxNode {
pub id: String,
pub backend_node_id: Option<u64>,
pub role: String,
pub name: String,
pub value: Option<String>,
pub description: Option<String>,
pub ignored: bool,
pub props: BTreeMap<String, Value>,
pub children: Vec<String>,
}Expand description
One node of the accessibility tree, normalised from an AXNode.
Fields§
§id: String§backend_node_id: Option<u64>§role: String§name: String§value: Option<String>§description: Option<String>§ignored: bool§props: BTreeMap<String, Value>properties[].name -> properties[].value.value (booleans, numbers,
strings such as checked: "true" | "mixed", level: 2, url).
children: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AxNode
impl RefUnwindSafe for AxNode
impl Send for AxNode
impl Sync for AxNode
impl Unpin for AxNode
impl UnsafeUnpin for AxNode
impl UnwindSafe for AxNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more