pub enum BreakpointScope<'execution> {
Step,
Execution(&'execution Execution),
}Expand description
Which run a breakpoint applies to.
The engine takes this as an optional argument on every breakpoint member. Leaving it out edits the step itself; supplying an execution scopes the change to that run.
Variants§
Step
Write the breakpoint into the step, where it outlives every run and is saved with the sequence file.
Execution(&'execution Execution)
Apply it to one execution only, leaving the step on disk alone.
Trait Implementations§
Source§impl<'execution> Clone for BreakpointScope<'execution>
impl<'execution> Clone for BreakpointScope<'execution>
Source§fn clone(&self) -> BreakpointScope<'execution>
fn clone(&self) -> BreakpointScope<'execution>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'execution> Copy for BreakpointScope<'execution>
Auto Trait Implementations§
impl<'execution> !RefUnwindSafe for BreakpointScope<'execution>
impl<'execution> !Send for BreakpointScope<'execution>
impl<'execution> !Sync for BreakpointScope<'execution>
impl<'execution> !UnwindSafe for BreakpointScope<'execution>
impl<'execution> Freeze for BreakpointScope<'execution>
impl<'execution> Unpin for BreakpointScope<'execution>
impl<'execution> UnsafeUnpin for BreakpointScope<'execution>
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