pub struct DescribeNodeCommandBuilder { /* private fields */ }Available on crate features
DOM and Runtime only.Implementations§
Source§impl DescribeNodeCommandBuilder
impl DescribeNodeCommandBuilder
Sourcepub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self
pub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self
Identifier of the backend node.
Sourcepub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self
pub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self
JavaScript object id of the node wrapper.
Sourcepub fn depth(&mut self, v: u32) -> &mut Self
pub fn depth(&mut self, v: u32) -> &mut Self
The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
Sourcepub fn pierce(&mut self, v: bool) -> &mut Self
pub fn pierce(&mut self, v: bool) -> &mut Self
Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).
pub fn build(&mut self) -> Result<DescribeNodeCommand, &'static str>
Trait Implementations§
Source§impl Clone for DescribeNodeCommandBuilder
impl Clone for DescribeNodeCommandBuilder
Source§fn clone(&self) -> DescribeNodeCommandBuilder
fn clone(&self) -> DescribeNodeCommandBuilder
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 DescribeNodeCommandBuilder
impl Debug for DescribeNodeCommandBuilder
Auto Trait Implementations§
impl Freeze for DescribeNodeCommandBuilder
impl RefUnwindSafe for DescribeNodeCommandBuilder
impl Send for DescribeNodeCommandBuilder
impl Sync for DescribeNodeCommandBuilder
impl Unpin for DescribeNodeCommandBuilder
impl UnwindSafe for DescribeNodeCommandBuilder
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