pub struct AxNodeBuilder { /* private fields */ }Expand description
Builder for AxNode.
Implementations§
Source§impl AxNodeBuilder
impl AxNodeBuilder
Sourcepub fn node_id<VALUE: Into<AxNodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<AxNodeId>>(&mut self, value: VALUE) -> &mut Self
Unique identifier for this node.
Sourcepub fn ignored<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn ignored<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether this node is ignored for accessibility
Sourcepub fn ignored_reasons<VALUE: Into<Vec<AxProperty>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn ignored_reasons<VALUE: Into<Vec<AxProperty>>>( &mut self, value: VALUE, ) -> &mut Self
Collection of reasons why this node is hidden.
Sourcepub fn role<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
pub fn role<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
This Node’s role, whether explicit or implicit.
Sourcepub fn chrome_role<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
pub fn chrome_role<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
This Node’s Chrome raw role.
Sourcepub fn name<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
The accessible name for this Node.
Sourcepub fn description<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
The accessible description for this Node.
Sourcepub fn value<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
The value for this Node.
Sourcepub fn properties<VALUE: Into<Vec<AxProperty>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn properties<VALUE: Into<Vec<AxProperty>>>( &mut self, value: VALUE, ) -> &mut Self
All other properties
Sourcepub fn parent_id<VALUE: Into<AxNodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn parent_id<VALUE: Into<AxNodeId>>(&mut self, value: VALUE) -> &mut Self
ID for this node’s parent.
Sourcepub fn child_ids<VALUE: Into<Vec<AxNodeId>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn child_ids<VALUE: Into<Vec<AxNodeId>>>( &mut self, value: VALUE, ) -> &mut Self
IDs for each of this node’s child nodes.
Sourcepub fn backend_dom_node_id<VALUE: Into<BackendNodeId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn backend_dom_node_id<VALUE: Into<BackendNodeId>>( &mut self, value: VALUE, ) -> &mut Self
The backend ID for the associated DOM node, if any.
Trait Implementations§
Source§impl Clone for AxNodeBuilder
impl Clone for AxNodeBuilder
Source§fn clone(&self) -> AxNodeBuilder
fn clone(&self) -> AxNodeBuilder
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 AxNodeBuilder
impl RefUnwindSafe for AxNodeBuilder
impl Send for AxNodeBuilder
impl Sync for AxNodeBuilder
impl Unpin for AxNodeBuilder
impl UnsafeUnpin for AxNodeBuilder
impl UnwindSafe for AxNodeBuilder
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