pub trait ScriptFunction<'env, Marker> {
// Required method
fn into_dynamic_script_function(self) -> DynamicScriptFunction;
}Expand description
A trait implemented by functions which can act as dynamic script functions, which can then be registered against a ScriptFunctionRegistry.
Required Methods§
Sourcefn into_dynamic_script_function(self) -> DynamicScriptFunction
fn into_dynamic_script_function(self) -> DynamicScriptFunction
Convert this function into a DynamicScriptFunction