pub struct GetPossibleBreakpointsBuilder { /* private fields */ }Expand description
Builder for GetPossibleBreakpoints.
Implementations§
Source§impl GetPossibleBreakpointsBuilder
impl GetPossibleBreakpointsBuilder
Sourcepub fn start<VALUE: Into<Location>>(&mut self, value: VALUE) -> &mut Self
pub fn start<VALUE: Into<Location>>(&mut self, value: VALUE) -> &mut Self
Start of range to search possible breakpoint locations in.
Sourcepub fn end<VALUE: Into<Location>>(&mut self, value: VALUE) -> &mut Self
pub fn end<VALUE: Into<Location>>(&mut self, value: VALUE) -> &mut Self
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<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn restrict_to_function<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Only consider locations which are in the same (non-nested) function as start.
Sourcepub fn build(
&self,
) -> Result<GetPossibleBreakpoints, GetPossibleBreakpointsBuilderError>
pub fn build( &self, ) -> Result<GetPossibleBreakpoints, GetPossibleBreakpointsBuilderError>
Trait Implementations§
Source§impl Clone for GetPossibleBreakpointsBuilder
impl Clone for GetPossibleBreakpointsBuilder
Source§fn clone(&self) -> GetPossibleBreakpointsBuilder
fn clone(&self) -> GetPossibleBreakpointsBuilder
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 GetPossibleBreakpointsBuilder
impl RefUnwindSafe for GetPossibleBreakpointsBuilder
impl Send for GetPossibleBreakpointsBuilder
impl Sync for GetPossibleBreakpointsBuilder
impl Unpin for GetPossibleBreakpointsBuilder
impl UnsafeUnpin for GetPossibleBreakpointsBuilder
impl UnwindSafe for GetPossibleBreakpointsBuilder
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