pub struct QueryAXTreeBuilder { /* private fields */ }Expand description
Builder for QueryAXTree.
Implementations§
Source§impl QueryAXTreeBuilder
impl QueryAXTreeBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Identifier of the node for the root to query.
Sourcepub fn backend_node_id<VALUE: Into<BackendNodeId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn backend_node_id<VALUE: Into<BackendNodeId>>( &mut self, value: VALUE, ) -> &mut Self
Identifier of the backend node for the root to query.
Sourcepub fn object_id<VALUE: Into<RemoteObjectId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn object_id<VALUE: Into<RemoteObjectId>>( &mut self, value: VALUE, ) -> &mut Self
JavaScript object id of the node wrapper for the root to query.
Sourcepub fn accessible_name<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn accessible_name<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Find nodes with this computed name.
Sourcepub fn role<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn role<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Find nodes with this computed role.
Sourcepub fn build(&self) -> Result<QueryAXTree, QueryAXTreeBuilderError>
pub fn build(&self) -> Result<QueryAXTree, QueryAXTreeBuilderError>
Trait Implementations§
Source§impl Clone for QueryAXTreeBuilder
impl Clone for QueryAXTreeBuilder
Source§fn clone(&self) -> QueryAXTreeBuilder
fn clone(&self) -> QueryAXTreeBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueryAXTreeBuilder
impl RefUnwindSafe for QueryAXTreeBuilder
impl Send for QueryAXTreeBuilder
impl Sync for QueryAXTreeBuilder
impl Unpin for QueryAXTreeBuilder
impl UnsafeUnpin for QueryAXTreeBuilder
impl UnwindSafe for QueryAXTreeBuilder
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