Struct chrome_remote_interface_model::debugger::ScriptFailedToParseEvent [−][src]
Fired when virtual machine fails to parse the script.
Implementations
impl ScriptFailedToParseEvent[src]
pub fn builder() -> ScriptFailedToParseEventBuilder[src]
pub fn script_id(&self) -> &ScriptId[src]
Identifier of the script parsed.
pub fn url(&self) -> &str[src]
URL or name of the script parsed (if any).
pub fn start_line(&self) -> u32[src]
Line offset of the script within the resource with given URL (for script tags).
pub fn start_column(&self) -> u32[src]
Column offset of the script within the resource with given URL.
pub fn end_line(&self) -> u32[src]
Last line of the script.
pub fn end_column(&self) -> u32[src]
Length of the last line of the script.
pub fn execution_context_id(&self) -> &ExecutionContextId[src]
Specifies script creation context.
pub fn hash(&self) -> &str[src]
Content hash of the script.
pub fn execution_context_aux_data(
&self
) -> Option<&ScriptFailedToParseEventExecutionContextAuxData>[src]
&self
) -> Option<&ScriptFailedToParseEventExecutionContextAuxData>
Embedder-specific auxiliary data.
pub fn source_map_url(&self) -> Option<&String>[src]
URL of source map associated with script (if any).
pub fn has_source_url(&self) -> Option<&bool>[src]
True, if this script has sourceURL.
pub fn is_module(&self) -> Option<&bool>[src]
True, if this script is ES6 module.
pub fn length(&self) -> Option<&u32>[src]
This script length.
Trait Implementations
impl Clone for ScriptFailedToParseEvent[src]
fn clone(&self) -> ScriptFailedToParseEvent[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ScriptFailedToParseEvent[src]
impl<'de> Deserialize<'de> for ScriptFailedToParseEvent[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for ScriptFailedToParseEvent[src]
Auto Trait Implementations
impl RefUnwindSafe for ScriptFailedToParseEvent[src]
impl Send for ScriptFailedToParseEvent[src]
impl Sync for ScriptFailedToParseEvent[src]
impl Unpin for ScriptFailedToParseEvent[src]
impl UnwindSafe for ScriptFailedToParseEvent[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
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>,