pub struct SetBreakpointBuilder { /* private fields */ }Expand description
Builder for SetBreakpoint.
Implementations§
Source§impl SetBreakpointBuilder
impl SetBreakpointBuilder
Sourcepub fn location<VALUE: Into<Location>>(&mut self, value: VALUE) -> &mut Self
pub fn location<VALUE: Into<Location>>(&mut self, value: VALUE) -> &mut Self
Location to set breakpoint in.
Sourcepub fn condition<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn condition<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
Sourcepub fn build(&self) -> Result<SetBreakpoint, SetBreakpointBuilderError>
pub fn build(&self) -> Result<SetBreakpoint, SetBreakpointBuilderError>
Trait Implementations§
Source§impl Clone for SetBreakpointBuilder
impl Clone for SetBreakpointBuilder
Source§fn clone(&self) -> SetBreakpointBuilder
fn clone(&self) -> SetBreakpointBuilder
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 SetBreakpointBuilder
impl RefUnwindSafe for SetBreakpointBuilder
impl Send for SetBreakpointBuilder
impl Sync for SetBreakpointBuilder
impl Unpin for SetBreakpointBuilder
impl UnsafeUnpin for SetBreakpointBuilder
impl UnwindSafe for SetBreakpointBuilder
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