pub trait ExperimentView<R: ExperimentRendering> {
// Required method
fn view(&self) -> Box<dyn ExperimentGenerator<R>>;
}
Expand description
Defines a view in which the simulation results should be saved. You should extend this type class to define your own views such as the PDF document.
Required Methods§
sourcefn view(&self) -> Box<dyn ExperimentGenerator<R>>
fn view(&self) -> Box<dyn ExperimentGenerator<R>>
Get the view of the corresponding results.