pub struct GetPossibleBreakpointsCommand { /* private fields */ }Available on crate features
Debugger and Runtime only.Expand description
Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.
Implementations§
Source§impl GetPossibleBreakpointsCommand
impl GetPossibleBreakpointsCommand
pub fn new( start: Location, end: Option<Location>, restrict_to_function: Option<bool>, ) -> Self
Sourcepub fn end(&self) -> Option<&Location>
pub fn end(&self) -> Option<&Location>
End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.
Sourcepub fn restrict_to_function(&self) -> Option<&bool>
pub fn restrict_to_function(&self) -> Option<&bool>
Only consider locations which are in the same (non-nested) function as start.
Trait Implementations§
Source§impl Clone for GetPossibleBreakpointsCommand
impl Clone for GetPossibleBreakpointsCommand
Source§fn clone(&self) -> GetPossibleBreakpointsCommand
fn clone(&self) -> GetPossibleBreakpointsCommand
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<'de> Deserialize<'de> for GetPossibleBreakpointsCommand
impl<'de> Deserialize<'de> for GetPossibleBreakpointsCommand
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 Freeze for GetPossibleBreakpointsCommand
impl RefUnwindSafe for GetPossibleBreakpointsCommand
impl Send for GetPossibleBreakpointsCommand
impl Sync for GetPossibleBreakpointsCommand
impl Unpin for GetPossibleBreakpointsCommand
impl UnwindSafe for GetPossibleBreakpointsCommand
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