pub struct CompileScriptParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CompileScriptParamsBuilder<'a>
impl<'a> CompileScriptParamsBuilder<'a>
Sourcepub fn execution_context_id(
self,
execution_context_id: ExecutionContextId,
) -> Self
pub fn execution_context_id( self, execution_context_id: ExecutionContextId, ) -> Self
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
pub fn build(self) -> CompileScriptParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompileScriptParamsBuilder<'a>
impl<'a> RefUnwindSafe for CompileScriptParamsBuilder<'a>
impl<'a> Send for CompileScriptParamsBuilder<'a>
impl<'a> Sync for CompileScriptParamsBuilder<'a>
impl<'a> Unpin for CompileScriptParamsBuilder<'a>
impl<'a> UnsafeUnpin for CompileScriptParamsBuilder<'a>
impl<'a> UnwindSafe for CompileScriptParamsBuilder<'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