pub struct GetFullAXTreeBuilder { /* private fields */ }Expand description
Builder for GetFullAXTree.
Implementations§
Source§impl GetFullAXTreeBuilder
impl GetFullAXTreeBuilder
Sourcepub fn depth<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn depth<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
The maximum depth at which descendants of the root node should be retrieved. If omitted, the full tree is returned.
Sourcepub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
pub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
The frame for whose document the AX tree should be retrieved. If omitted, the root frame is used.
Sourcepub fn build(&self) -> Result<GetFullAXTree, GetFullAXTreeBuilderError>
pub fn build(&self) -> Result<GetFullAXTree, GetFullAXTreeBuilderError>
Trait Implementations§
Source§impl Clone for GetFullAXTreeBuilder
impl Clone for GetFullAXTreeBuilder
Source§fn clone(&self) -> GetFullAXTreeBuilder
fn clone(&self) -> GetFullAXTreeBuilder
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 GetFullAXTreeBuilder
impl RefUnwindSafe for GetFullAXTreeBuilder
impl Send for GetFullAXTreeBuilder
impl Sync for GetFullAXTreeBuilder
impl Unpin for GetFullAXTreeBuilder
impl UnsafeUnpin for GetFullAXTreeBuilder
impl UnwindSafe for GetFullAXTreeBuilder
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