pub trait IterationData<L, N>: Sized where L: Language, N: Analysis<L>, { fn make(runner: &Runner<L, N, Self>) -> Self; }
Custom data to inject into the Iterations recorded by a Runner
Iteration
Runner
This trait allows you to add custom data to the Iterations recorded as a Runner applies rules.
See the Runner docs for an example.
Runner is generic over the IterationData that it will be in the Iterations, but by default it uses ().
IterationData
()
Given the current Runner, make the data to be put in this Iteration.