pub struct SpecMatrix {
pub overflow: Counter,
/* private fields */
}Fields§
§overflow: Counter2026-09-26: Steps not placed: zero drafts, more than MAX_DRAFTS, or
more accepted than checked.
Implementations§
Source§impl SpecMatrix
impl SpecMatrix
pub const fn new() -> Self
pub fn steps(&self, drafts: usize, accepted: usize) -> u64
Sourcepub fn acceptance_by_depth(&self, drafts: usize) -> Vec<f64>
pub fn acceptance_by_depth(&self, drafts: usize) -> Vec<f64>
2026-09-26: For each depth 1..=drafts, the fraction of drafts-wide
verify steps that accepted at least that deep. Empty when no such step
ran.
Trait Implementations§
Source§impl Debug for SpecMatrix
impl Debug for SpecMatrix
Auto Trait Implementations§
impl !Freeze for SpecMatrix
impl RefUnwindSafe for SpecMatrix
impl Send for SpecMatrix
impl Sync for SpecMatrix
impl Unpin for SpecMatrix
impl UnwindSafe for SpecMatrix
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