pub trait Instantiator<'a>:
RefUnwindSafe
+ Fn() -> CompiledSimInstance<'a>
+ Sealed<'a> { }
Available on crate feature
sim
and stageleft_runtime
only.Expand description
A trait implemented by closures that can instantiate a compiled simulation.
This is needed to ensure RefUnwindSafe
so instances can be created during fuzzing.