Struct chrome_remote_interface_model::debugger::ScriptFailedToParseEventBuilder [−][src]
Debugger
and Runtime
only.Implementations
impl ScriptFailedToParseEventBuilder
[src]
pub fn script_id(&mut self, v: ScriptId) -> &mut Self
[src]
Identifier of the script parsed.
pub fn url(&mut self, v: String) -> &mut Self
[src]
URL or name of the script parsed (if any).
pub fn start_line(&mut self, v: u32) -> &mut Self
[src]
Line offset of the script within the resource with given URL (for script tags).
pub fn start_column(&mut self, v: u32) -> &mut Self
[src]
Column offset of the script within the resource with given URL.
pub fn end_line(&mut self, v: u32) -> &mut Self
[src]
Last line of the script.
pub fn end_column(&mut self, v: u32) -> &mut Self
[src]
Length of the last line of the script.
pub fn execution_context_id(&mut self, v: ExecutionContextId) -> &mut Self
[src]
Specifies script creation context.
pub fn hash(&mut self, v: String) -> &mut Self
[src]
Content hash of the script.
pub fn execution_context_aux_data(
&mut self,
v: ScriptFailedToParseEventExecutionContextAuxData
) -> &mut Self
[src]
&mut self,
v: ScriptFailedToParseEventExecutionContextAuxData
) -> &mut Self
Embedder-specific auxiliary data.
pub fn source_map_url(&mut self, v: String) -> &mut Self
[src]
URL of source map associated with script (if any).
pub fn has_source_url(&mut self, v: bool) -> &mut Self
[src]
True, if this script has sourceURL.
pub fn is_module(&mut self, v: bool) -> &mut Self
[src]
True, if this script is ES6 module.
pub fn length(&mut self, v: u32) -> &mut Self
[src]
This script length.
pub fn stack_trace(&mut self, v: StackTrace) -> &mut Self
[src]
experimental
only.JavaScript top stack frame of where the script parsed event was triggered if available.
pub fn code_offset(&mut self, v: u32) -> &mut Self
[src]
experimental
only.If the scriptLanguage is WebAssembly, the code section offset in the module.
pub fn script_language(&mut self, v: ScriptLanguage) -> &mut Self
[src]
experimental
only.The language of the script.
pub fn embedder_name(&mut self, v: String) -> &mut Self
[src]
experimental
only.The name the embedder supplied for this script.
pub fn build(&mut self) -> Result<ScriptFailedToParseEvent, &'static str>
[src]
Trait Implementations
impl Clone for ScriptFailedToParseEventBuilder
[src]
fn clone(&self) -> ScriptFailedToParseEventBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScriptFailedToParseEventBuilder
[src]
impl Default for ScriptFailedToParseEventBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScriptFailedToParseEventBuilder
[src]
impl Send for ScriptFailedToParseEventBuilder
[src]
impl Sync for ScriptFailedToParseEventBuilder
[src]
impl Unpin for ScriptFailedToParseEventBuilder
[src]
impl UnwindSafe for ScriptFailedToParseEventBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,