Skip to main content

AXNodeBuilder

Struct AXNodeBuilder 

Source
pub struct AXNodeBuilder<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> AXNodeBuilder<'a>

Source

pub fn ignoredReasons(self, ignoredReasons: Vec<AXProperty<'a>>) -> Self

Collection of reasons why this node is hidden.

Source

pub fn role(self, role: AXValue<'a>) -> Self

This ‘Node’’s role, whether explicit or implicit.

Source

pub fn chromeRole(self, chromeRole: AXValue<'a>) -> Self

This ‘Node’’s Chrome raw role.

Source

pub fn name(self, name: AXValue<'a>) -> Self

The accessible name for this ‘Node’.

Source

pub fn description(self, description: AXValue<'a>) -> Self

The accessible description for this ‘Node’.

Source

pub fn value(self, value: AXValue<'a>) -> Self

The value for this ‘Node’.

Source

pub fn properties(self, properties: Vec<AXProperty<'a>>) -> Self

All other properties

Source

pub fn parentId(self, parentId: AXNodeId<'a>) -> Self

ID for this node’s parent.

Source

pub fn childIds(self, childIds: Vec<AXNodeId<'a>>) -> Self

IDs for each of this node’s child nodes.

Source

pub fn backendDOMNodeId(self, backendDOMNodeId: BackendNodeId) -> Self

The backend ID for the associated DOM node, if any.

Source

pub fn frameId(self, frameId: FrameId<'a>) -> Self

The frame ID for the frame associated with this nodes document.

Source

pub fn build(self) -> AXNode<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for AXNodeBuilder<'a>

§

impl<'a> RefUnwindSafe for AXNodeBuilder<'a>

§

impl<'a> Send for AXNodeBuilder<'a>

§

impl<'a> Sync for AXNodeBuilder<'a>

§

impl<'a> Unpin for AXNodeBuilder<'a>

§

impl<'a> UnsafeUnpin for AXNodeBuilder<'a>

§

impl<'a> UnwindSafe for AXNodeBuilder<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.