pub trait AddScriptFunctionAppExt {
// Required method
fn add_script_function<Out, Marker, A: 'static, const N: usize, const X: bool, R: 'static, const F: bool, Args>(
&mut self,
name: String,
system: impl RegisterCallbackFunction<Out, Marker, A, N, X, R, F, Args>
) -> &mut Self;
}Expand description
An extension trait for [App] that allows to register a script function.