Trait JsArgs

pub trait JsArgs<T: JsFunction>

Trait for argument tuples that can call or bind a Function<T>.

Associated Types

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

Implementors