pub struct GetSnapshotParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> GetSnapshotParamsBuilder<'a>
impl<'a> GetSnapshotParamsBuilder<'a>
Sourcepub fn include_event_listeners(self, include_event_listeners: bool) -> Self
pub fn include_event_listeners(self, include_event_listeners: bool) -> Self
Whether or not to retrieve details of DOM listeners (default false).
Sourcepub fn include_paint_order(self, include_paint_order: bool) -> Self
pub fn include_paint_order(self, include_paint_order: bool) -> Self
Whether to determine and include the paint order index of LayoutTreeNodes (default false).
Sourcepub fn include_user_agent_shadow_tree(
self,
include_user_agent_shadow_tree: bool,
) -> Self
pub fn include_user_agent_shadow_tree( self, include_user_agent_shadow_tree: 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