pub struct MatrixRunner;Expand description
Runs language rows through caller-supplied source-case runners.
The runner compares the row’s expected source outcomes with observations from the caller. It does not depend on a concrete language codec; each language crate supplies its own execution closure and publishes the report when evidence claims are needed.
Implementations§
Source§impl MatrixRunner
impl MatrixRunner
Sourcepub fn run_row<F>(
cx: &mut Cx,
row: &LanguageRow,
run_case: F,
) -> MatrixRunReport
pub fn run_row<F>( cx: &mut Cx, row: &LanguageRow, run_case: F, ) -> MatrixRunReport
Runs a single language row, using run_case to execute each source case.
Auto Trait Implementations§
impl Freeze for MatrixRunner
impl RefUnwindSafe for MatrixRunner
impl Send for MatrixRunner
impl Sync for MatrixRunner
impl Unpin for MatrixRunner
impl UnsafeUnpin for MatrixRunner
impl UnwindSafe for MatrixRunner
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