pub struct MarkDecl {
pub name: StringLiteral,
pub site: String,
pub site_span: SourceSpan,
pub span: SourceSpan,
}Expand description
mark "<name>" after <site> (experimentation subsystem §4.2): a named
cut point. The runtime stamps a mark.reached event when the named
site commits on any run, so every run’s meaningful moments are
addressable — whip pin <run> at <mark> freezes the prefix as a
scenario, and regeneration replays that prefix and re-executes only
the suffix. Names are stable across edits (event offsets shift, marks
don’t). Deliberately a separate declaration from milestone
(child→parent lifecycle signaling vs. event-log position).
Fields§
§name: StringLiteral§site: StringThe committing site the cut rides: a rule name (dotted for flow-generated segments).
site_span: SourceSpan§span: SourceSpanTrait Implementations§
impl Eq for MarkDecl
impl StructuralPartialEq for MarkDecl
Auto Trait Implementations§
impl Freeze for MarkDecl
impl RefUnwindSafe for MarkDecl
impl Send for MarkDecl
impl Sync for MarkDecl
impl Unpin for MarkDecl
impl UnsafeUnpin for MarkDecl
impl UnwindSafe for MarkDecl
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