pub struct AxNodeBuilder { /* private fields */ }Available on crate features
experimental and Accessibility and DOM only.Implementations§
Source§impl AxNodeBuilder
impl AxNodeBuilder
Sourcepub fn ignored_reasons(&mut self, v: Vec<AxProperty>) -> &mut Self
pub fn ignored_reasons(&mut self, v: Vec<AxProperty>) -> &mut Self
Collection of reasons why this node is hidden.
Sourcepub fn role(&mut self, v: AxValue) -> &mut Self
pub fn role(&mut self, v: AxValue) -> &mut Self
This Node’s role, whether explicit or implicit.
Sourcepub fn description(&mut self, v: AxValue) -> &mut Self
pub fn description(&mut self, v: AxValue) -> &mut Self
The accessible description for this Node.
Sourcepub fn properties(&mut self, v: Vec<AxProperty>) -> &mut Self
pub fn properties(&mut self, v: Vec<AxProperty>) -> &mut Self
All other properties
Sourcepub fn child_ids(&mut self, v: Vec<AxNodeId>) -> &mut Self
pub fn child_ids(&mut self, v: Vec<AxNodeId>) -> &mut Self
IDs for each of this node’s child nodes.
Sourcepub fn backend_dom_node_id(&mut self, v: BackendNodeId) -> &mut Self
pub fn backend_dom_node_id(&mut self, v: BackendNodeId) -> &mut Self
The backend ID for the associated DOM node, if any.
pub fn build(&mut self) -> Result<AxNode, &'static str>
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 moreSource§impl Debug for AxNodeBuilder
impl Debug for AxNodeBuilder
Auto Trait Implementations§
impl Freeze for AxNodeBuilder
impl RefUnwindSafe for AxNodeBuilder
impl Send for AxNodeBuilder
impl Sync for AxNodeBuilder
impl Unpin 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