pub struct GetSnapshotParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> GetSnapshotParamsBuilder<'a>
impl<'a> GetSnapshotParamsBuilder<'a>
Sourcepub fn includeEventListeners(self, includeEventListeners: bool) -> Self
pub fn includeEventListeners(self, includeEventListeners: bool) -> Self
Whether or not to retrieve details of DOM listeners (default false).
Sourcepub fn includePaintOrder(self, includePaintOrder: bool) -> Self
pub fn includePaintOrder(self, includePaintOrder: bool) -> Self
Whether to determine and include the paint order index of LayoutTreeNodes (default false).
Sourcepub fn includeUserAgentShadowTree(
self,
includeUserAgentShadowTree: bool,
) -> Self
pub fn includeUserAgentShadowTree( self, includeUserAgentShadowTree: bool, ) -> Self
Whether to include UA shadow tree in the snapshot (default false).
pub fn build(self) -> GetSnapshotParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for GetSnapshotParamsBuilder<'a>
impl<'a> RefUnwindSafe for GetSnapshotParamsBuilder<'a>
impl<'a> Send for GetSnapshotParamsBuilder<'a>
impl<'a> Sync for GetSnapshotParamsBuilder<'a>
impl<'a> Unpin for GetSnapshotParamsBuilder<'a>
impl<'a> UnsafeUnpin for GetSnapshotParamsBuilder<'a>
impl<'a> UnwindSafe for GetSnapshotParamsBuilder<'a>
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