pub struct BreakLocation<'a> { /* private fields */ }Implementations§
Source§impl<'a> BreakLocation<'a>
impl<'a> BreakLocation<'a>
Sourcepub fn builder(
script_id: ScriptId<'a>,
line_number: i64,
) -> BreakLocationBuilder<'a>
pub fn builder( script_id: ScriptId<'a>, line_number: i64, ) -> BreakLocationBuilder<'a>
Creates a builder for this type with the required parameters:
script_id: Script identifier as reported in theDebugger.scriptParsed.line_number: Line number in the script (0-based).
Sourcepub fn script_id(&self) -> &ScriptId<'a>
pub fn script_id(&self) -> &ScriptId<'a>
Script identifier as reported in the ‘Debugger.scriptParsed’.
Sourcepub fn line_number(&self) -> i64
pub fn line_number(&self) -> i64
Line number in the script (0-based).
Sourcepub fn column_number(&self) -> Option<i64>
pub fn column_number(&self) -> Option<i64>
Column number in the script (0-based).
pub fn type_(&self) -> Option<&str>
Trait Implementations§
Source§impl<'a> Clone for BreakLocation<'a>
impl<'a> Clone for BreakLocation<'a>
Source§fn clone(&self) -> BreakLocation<'a>
fn clone(&self) -> BreakLocation<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BreakLocation<'a>
impl<'a> Debug for BreakLocation<'a>
Source§impl<'a> Default for BreakLocation<'a>
impl<'a> Default for BreakLocation<'a>
Source§fn default() -> BreakLocation<'a>
fn default() -> BreakLocation<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for BreakLocation<'a>
impl<'de, 'a> Deserialize<'de> for BreakLocation<'a>
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<'a> Freeze for BreakLocation<'a>
impl<'a> RefUnwindSafe for BreakLocation<'a>
impl<'a> Send for BreakLocation<'a>
impl<'a> Sync for BreakLocation<'a>
impl<'a> Unpin for BreakLocation<'a>
impl<'a> UnsafeUnpin for BreakLocation<'a>
impl<'a> UnwindSafe for BreakLocation<'a>
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