pub struct GetPartialAXTreeBuilder { /* private fields */ }Expand description
Builder for GetPartialAXTree.
Implementations§
Source§impl GetPartialAXTreeBuilder
impl GetPartialAXTreeBuilder
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 to get the partial accessibility tree for.
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 to get the partial accessibility tree for.
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 to get the partial accessibility tree for.
Sourcepub fn fetch_relatives<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn fetch_relatives<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether to fetch this node’s ancestors, siblings and children. Defaults to true.
Sourcepub fn build(&self) -> Result<GetPartialAXTree, GetPartialAXTreeBuilderError>
pub fn build(&self) -> Result<GetPartialAXTree, GetPartialAXTreeBuilderError>
Trait Implementations§
Source§impl Clone for GetPartialAXTreeBuilder
impl Clone for GetPartialAXTreeBuilder
Source§fn clone(&self) -> GetPartialAXTreeBuilder
fn clone(&self) -> GetPartialAXTreeBuilder
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 GetPartialAXTreeBuilder
impl RefUnwindSafe for GetPartialAXTreeBuilder
impl Send for GetPartialAXTreeBuilder
impl Sync for GetPartialAXTreeBuilder
impl Unpin for GetPartialAXTreeBuilder
impl UnsafeUnpin for GetPartialAXTreeBuilder
impl UnwindSafe for GetPartialAXTreeBuilder
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