pub struct Breakpoint {
pub source: String,
pub line: Option<u64>,
}Expand description
Breakpoint definition
Fields§
§source: StringSource pattern that will trigger the breakpoint
line: Option<u64>Line of the source that will trigger the breakpoin. If None, any incidence of source
will trigger the breakpoint, regardless of the line.
Implementations§
Trait Implementations§
Source§impl Clone for Breakpoint
impl Clone for Breakpoint
Source§fn clone(&self) -> Breakpoint
fn clone(&self) -> Breakpoint
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 Debug for Breakpoint
impl Debug for Breakpoint
Source§impl Default for Breakpoint
impl Default for Breakpoint
Source§fn default() -> Breakpoint
fn default() -> Breakpoint
Returns the “default value” for a type. Read more
Source§impl Hash for Breakpoint
impl Hash for Breakpoint
Source§impl PartialEq for Breakpoint
impl PartialEq for Breakpoint
impl Eq for Breakpoint
impl StructuralPartialEq for Breakpoint
Auto Trait Implementations§
impl Freeze for Breakpoint
impl RefUnwindSafe for Breakpoint
impl Send for Breakpoint
impl Sync for Breakpoint
impl Unpin for Breakpoint
impl UnwindSafe for Breakpoint
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