pub struct AxNode {
pub ax_node_id: String,
pub backend_dom_node_id: Option<i64>,
pub role: String,
pub name: String,
pub description: String,
pub value: Option<String>,
pub children: Vec<AxNode>,
pub bounds: Option<[f64; 4]>,
pub interactive: bool,
pub input_type: Option<String>,
}Expand description
A simplified accessibility tree node.
Fields§
§ax_node_id: String§backend_dom_node_id: Option<i64>§role: String§name: String§description: String§value: Option<String>§children: Vec<AxNode>§bounds: Option<[f64; 4]>Bounding box: [x, y, width, height]. Filled by the session when needed.
interactive: bool§input_type: Option<String>HTML input type extracted from AX properties (text, email, checkbox, etc.).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AxNode
impl<'de> Deserialize<'de> for AxNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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