Trait rquickjs::function::StaticJsFunction
source · pub trait StaticJsFunction {
// Required method
fn call<'a, 'js>(params: Params<'a, 'js>) -> Result<Value<'js>, Error>;
}
Expand description
A trait for functions callable from JavaScript but static, Used for implementing callable objects.
Required Methods§
Object Safety§
This trait is not object safe.