Struct chrome_remote_interface_model::accessibility::QueryAxTreeCommand[][src]

pub struct QueryAxTreeCommand { /* fields omitted */ }
This is supported on crate features experimental and Accessibility and DOM only.

Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that mactch the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither accessibleName or role is specified, it returns all the accessibility nodes in the subtree.

Implementations

impl QueryAxTreeCommand[src]

pub fn builder() -> QueryAxTreeCommandBuilder[src]

pub fn node_id(&self) -> Option<&NodeId>[src]

Identifier of the node for the root to query.

pub fn backend_node_id(&self) -> Option<&BackendNodeId>[src]

Identifier of the backend node for the root to query.

pub fn object_id(&self) -> Option<&RemoteObjectId>[src]

JavaScript object id of the node wrapper for the root to query.

pub fn accessible_name(&self) -> Option<&String>[src]

Find nodes with this computed name.

pub fn role(&self) -> Option<&String>[src]

Find nodes with this computed role.

Trait Implementations

impl Clone for QueryAxTreeCommand[src]

impl Command for QueryAxTreeCommand[src]

type Return = QueryAxTreeReturn

Return type.

impl Debug for QueryAxTreeCommand[src]

impl<'de> Deserialize<'de> for QueryAxTreeCommand[src]

impl Serialize for QueryAxTreeCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.