pub struct CallFrameBuilder { /* private fields */ }Available on crate features
Debugger and Runtime only.Implementations§
Source§impl CallFrameBuilder
impl CallFrameBuilder
Sourcepub fn call_frame_id(&mut self, v: CallFrameId) -> &mut Self
pub fn call_frame_id(&mut self, v: CallFrameId) -> &mut Self
Call frame identifier. This identifier is only valid while the virtual machine is paused.
Sourcepub fn function_name(&mut self, v: String) -> &mut Self
pub fn function_name(&mut self, v: String) -> &mut Self
Name of the JavaScript function called on this call frame.
Sourcepub fn function_location(&mut self, v: Location) -> &mut Self
pub fn function_location(&mut self, v: Location) -> &mut Self
Location in the source code.
Sourcepub fn scope_chain(&mut self, v: Vec<Scope>) -> &mut Self
pub fn scope_chain(&mut self, v: Vec<Scope>) -> &mut Self
Scope chain for this call frame.
Sourcepub fn this(&mut self, v: RemoteObject) -> &mut Self
pub fn this(&mut self, v: RemoteObject) -> &mut Self
this object for this call frame.
Sourcepub fn return_value(&mut self, v: RemoteObject) -> &mut Self
pub fn return_value(&mut self, v: RemoteObject) -> &mut Self
The value being returned, if the function is at return point.
pub fn build(&mut self) -> Result<CallFrame, &'static str>
Trait Implementations§
Source§impl Clone for CallFrameBuilder
impl Clone for CallFrameBuilder
Source§fn clone(&self) -> CallFrameBuilder
fn clone(&self) -> CallFrameBuilder
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 CallFrameBuilder
impl Debug for CallFrameBuilder
Auto Trait Implementations§
impl Freeze for CallFrameBuilder
impl RefUnwindSafe for CallFrameBuilder
impl Send for CallFrameBuilder
impl Sync for CallFrameBuilder
impl Unpin for CallFrameBuilder
impl UnwindSafe for CallFrameBuilder
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