pub trait Instantiator<'a>:
RefUnwindSafe
+ Fn() -> CompiledSimInstance<'a>
+ Sealed<'a> { }Available on
stageleft_runtime and crate feature sim 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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".