pub struct SetScriptSourceReturn { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Edits JavaScript source live.
Implementations§
Source§impl SetScriptSourceReturn
impl SetScriptSourceReturn
pub fn builder() -> SetScriptSourceReturnBuilder
Sourcepub fn call_frames(&self) -> Option<&Vec<CallFrame>>
pub fn call_frames(&self) -> Option<&Vec<CallFrame>>
New stack trace in case editing has happened while VM was stopped.
Sourcepub fn stack_changed(&self) -> Option<&bool>
pub fn stack_changed(&self) -> Option<&bool>
Whether current call stack was modified after applying the changes.
Sourcepub fn async_stack_trace(&self) -> Option<&StackTrace>
pub fn async_stack_trace(&self) -> Option<&StackTrace>
Async stack trace, if any.
Sourcepub fn async_stack_trace_id(&self) -> Option<&JsonValue>
Available on crate feature experimental only.
pub fn async_stack_trace_id(&self) -> Option<&JsonValue>
experimental only.Async stack trace, if any.
Sourcepub fn exception_details(&self) -> Option<&ExceptionDetails>
pub fn exception_details(&self) -> Option<&ExceptionDetails>
Exception details if any.
Trait Implementations§
Source§impl Clone for SetScriptSourceReturn
impl Clone for SetScriptSourceReturn
Source§fn clone(&self) -> SetScriptSourceReturn
fn clone(&self) -> SetScriptSourceReturn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetScriptSourceReturn
impl Debug for SetScriptSourceReturn
Source§impl<'de> Deserialize<'de> for SetScriptSourceReturn
impl<'de> Deserialize<'de> for SetScriptSourceReturn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetScriptSourceReturn
impl RefUnwindSafe for SetScriptSourceReturn
impl Send for SetScriptSourceReturn
impl Sync for SetScriptSourceReturn
impl Unpin for SetScriptSourceReturn
impl UnwindSafe for SetScriptSourceReturn
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