Trait substrate::simulation::options::SimOption
source · pub trait SimOption<S: Simulator> {
// Required method
fn set_option(
self,
opts: &mut <S as Simulator>::Options,
ctx: &SimulationContext<S>
);
}
Expand description
An option for a simulator.
Required Methods§
sourcefn set_option(
self,
opts: &mut <S as Simulator>::Options,
ctx: &SimulationContext<S>
)
fn set_option( self, opts: &mut <S as Simulator>::Options, ctx: &SimulationContext<S> )
Modifies the simulator’s options to enable this option.