pub struct CallFrame { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
JavaScript call frame. Array of call frames form the call stack.
Implementations§
Source§impl CallFrame
impl CallFrame
pub fn builder() -> CallFrameBuilder
Sourcepub fn call_frame_id(&self) -> &CallFrameId
pub fn call_frame_id(&self) -> &CallFrameId
Call frame identifier. This identifier is only valid while the virtual machine is paused.
Sourcepub fn function_name(&self) -> &str
pub fn function_name(&self) -> &str
Name of the JavaScript function called on this call frame.
Sourcepub fn function_location(&self) -> Option<&Location>
pub fn function_location(&self) -> Option<&Location>
Location in the source code.
Sourcepub fn scope_chain(&self) -> &[Scope]
pub fn scope_chain(&self) -> &[Scope]
Scope chain for this call frame.
Sourcepub fn this(&self) -> &RemoteObject
pub fn this(&self) -> &RemoteObject
this object for this call frame.
Sourcepub fn return_value(&self) -> Option<&RemoteObject>
pub fn return_value(&self) -> Option<&RemoteObject>
The value being returned, if the function is at return point.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallFrame
impl<'de> Deserialize<'de> for CallFrame
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 CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnwindSafe for CallFrame
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