Trait rquickjs_core::function::StaticJsFunction
source · pub trait StaticJsFunction {
// Required method
fn call<'a, 'js>(params: Params<'a, 'js>) -> Result<Value<'js>>;
}
Expand description
A trait for functions callable from javascript but static, Used for implementing callable objects.