pub struct LocationBuilder { /* private fields */ }Expand description
Builder for Location.
Implementations§
Source§impl LocationBuilder
impl LocationBuilder
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
Script identifier as reported in the Debugger.scriptParsed.
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
Line number in the script (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
Column number in the script (0-based).
Trait Implementations§
Source§impl Clone for LocationBuilder
impl Clone for LocationBuilder
Source§fn clone(&self) -> LocationBuilder
fn clone(&self) -> LocationBuilder
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 LocationBuilder
impl RefUnwindSafe for LocationBuilder
impl Send for LocationBuilder
impl Sync for LocationBuilder
impl Unpin for LocationBuilder
impl UnsafeUnpin for LocationBuilder
impl UnwindSafe for LocationBuilder
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