pub trait JsArgs<T: JsFunction> {
type BindOutput;
// Required methods
fn apply_call(
self,
func: &Function<T>,
context: &JsValue,
) -> Result<T::Ret, JsValue>;
fn apply_bind(
self,
func: &Function<T>,
context: &JsValue,
) -> Self::BindOutput;
}Expand description
Trait for argument tuples that can call or bind a Function<T>.