pub struct AxNode {Show 13 fields
pub node_id: AxNodeId,
pub ignored: bool,
pub ignored_reasons: Option<Vec<AxProperty>>,
pub role: Option<AxValue>,
pub chrome_role: Option<AxValue>,
pub name: Option<AxValue>,
pub description: Option<AxValue>,
pub value: Option<AxValue>,
pub properties: Option<Vec<AxProperty>>,
pub parent_id: Option<AxNodeId>,
pub child_ids: Option<Vec<AxNodeId>>,
pub backend_dom_node_id: Option<BackendNodeId>,
pub frame_id: Option<FrameId>,
}
Expand description
A node in the accessibility tree. AXNode
Fields§
§node_id: AxNodeId
Unique identifier for this node.
ignored: bool
Whether this node is ignored for accessibility
ignored_reasons: Option<Vec<AxProperty>>
Collection of reasons why this node is hidden.
role: Option<AxValue>
This Node
’s role, whether explicit or implicit.
chrome_role: Option<AxValue>
This Node
’s Chrome raw role.
name: Option<AxValue>
The accessible name for this Node
.
description: Option<AxValue>
The accessible description for this Node
.
value: Option<AxValue>
The value for this Node
.
properties: Option<Vec<AxProperty>>
All other properties
parent_id: Option<AxNodeId>
ID for this node’s parent.
child_ids: Option<Vec<AxNodeId>>
IDs for each of this node’s child nodes.
backend_dom_node_id: Option<BackendNodeId>
The backend ID for the associated DOM node, if any.
frame_id: Option<FrameId>
The frame ID for the frame associated with this nodes document.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AxNode
impl<'de> Deserialize<'de> for AxNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AxNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AxNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AxNode
impl Serialize for AxNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AxNode
Auto Trait Implementations§
impl Freeze for AxNode
impl RefUnwindSafe for AxNode
impl Send for AxNode
impl Sync for AxNode
impl Unpin 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