pub struct GetSnapshotReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetSnapshotReturnObject.
Implementations§
Source§impl GetSnapshotReturnObjectBuilder
impl GetSnapshotReturnObjectBuilder
Sourcepub fn dom_nodes(&mut self, value: Vec<DomNode>) -> &mut Self
pub fn dom_nodes(&mut self, value: Vec<DomNode>) -> &mut Self
The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.
Sourcepub fn layout_tree_nodes(&mut self, value: Vec<LayoutTreeNode>) -> &mut Self
pub fn layout_tree_nodes(&mut self, value: Vec<LayoutTreeNode>) -> &mut Self
The nodes in the layout tree.
Sourcepub fn computed_styles(&mut self, value: Vec<ComputedStyle>) -> &mut Self
pub fn computed_styles(&mut self, value: Vec<ComputedStyle>) -> &mut Self
Whitelisted ComputedStyle properties for each node in the layout tree.
Sourcepub fn build(
&self,
) -> Result<GetSnapshotReturnObject, GetSnapshotReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetSnapshotReturnObject, GetSnapshotReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetSnapshotReturnObjectBuilder
impl Clone for GetSnapshotReturnObjectBuilder
Source§fn clone(&self) -> GetSnapshotReturnObjectBuilder
fn clone(&self) -> GetSnapshotReturnObjectBuilder
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 GetSnapshotReturnObjectBuilder
impl RefUnwindSafe for GetSnapshotReturnObjectBuilder
impl Send for GetSnapshotReturnObjectBuilder
impl Sync for GetSnapshotReturnObjectBuilder
impl Unpin for GetSnapshotReturnObjectBuilder
impl UnsafeUnpin for GetSnapshotReturnObjectBuilder
impl UnwindSafe for GetSnapshotReturnObjectBuilder
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