pub trait IntoScriptPluginParams: 'static {
type C: Context;
type R: Runtime;
const LANGUAGE: Language;
// Required method
fn build_runtime() -> Self::R;
}
Expand description
Types which act like scripting plugins, by selecting a context and runtime Each individual combination of context and runtime has specific infrastructure built for it and does not interact with other scripting plugins
Required Associated Constants§
Required Associated Types§
Required Methods§
fn build_runtime() -> Self::R
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.