pub struct BreakpointLocation {
pub line: i32,
pub column: Option<i32>,
pub end_line: Option<i32>,
pub end_column: Option<i32>,
/* private fields */
}
Expand description
Properties of a breakpoint location returned from the ‘breakpointLocations’ request.
Fields§
§line: i32
Start line of breakpoint location.
column: Option<i32>
Optional start column of breakpoint location.
end_line: Option<i32>
Optional end line of breakpoint location if the location covers a range.
end_column: Option<i32>
Optional end column of breakpoint location if the location covers a range.
Implementations§
Source§impl BreakpointLocation
impl BreakpointLocation
Sourcepub fn builder() -> BreakpointLocationBuilder<((), (), (), ())>
pub fn builder() -> BreakpointLocationBuilder<((), (), (), ())>
Create a builder for building BreakpointLocation
.
On the builder, call .line(...)
, .column(...)
(optional), .end_line(...)
(optional), .end_column(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of BreakpointLocation
.
Trait Implementations§
Source§impl Clone for BreakpointLocation
impl Clone for BreakpointLocation
Source§fn clone(&self) -> BreakpointLocation
fn clone(&self) -> BreakpointLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BreakpointLocation
impl Debug for BreakpointLocation
Source§impl<'de> Deserialize<'de> for BreakpointLocation
impl<'de> Deserialize<'de> for BreakpointLocation
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
Source§impl PartialEq for BreakpointLocation
impl PartialEq for BreakpointLocation
Source§impl Serialize for BreakpointLocation
impl Serialize for BreakpointLocation
impl Eq for BreakpointLocation
impl StructuralPartialEq for BreakpointLocation
Auto Trait Implementations§
impl Freeze for BreakpointLocation
impl RefUnwindSafe for BreakpointLocation
impl Send for BreakpointLocation
impl Sync for BreakpointLocation
impl Unpin for BreakpointLocation
impl UnwindSafe for BreakpointLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.