pub struct CallFrameBuilder { /* private fields */ }Expand description
Builder for CallFrame.
Implementations§
Source§impl CallFrameBuilder
impl CallFrameBuilder
Sourcepub fn function_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn function_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
JavaScript function name.
Sourcepub fn script_id<VALUE: Into<ScriptId>>(&mut self, value: VALUE) -> &mut Self
pub fn script_id<VALUE: Into<ScriptId>>(&mut self, value: VALUE) -> &mut Self
JavaScript script id.
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
JavaScript script name or url.
Sourcepub fn line_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn line_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
JavaScript script line number (0-based).
Sourcepub fn column_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn column_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
JavaScript script column number (0-based).
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 moreAuto Trait Implementations§
impl Freeze for CallFrameBuilder
impl RefUnwindSafe for CallFrameBuilder
impl Send for CallFrameBuilder
impl Sync for CallFrameBuilder
impl Unpin for CallFrameBuilder
impl UnsafeUnpin 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