Skip to main content

JsFunction2

Trait JsFunction2 

Source
pub trait JsFunction2: JsFunction1 {
    type Arg2: JsGeneric;
    type Bind2: JsFunction;
}

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric> JsFunction2 for fn(Arg1, Arg2) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn() -> Ret

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric, Arg3: JsGeneric> JsFunction2 for fn(Arg1, Arg2, Arg3) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn(Arg3) -> Ret

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric, Arg3: JsGeneric, Arg4: JsGeneric> JsFunction2 for fn(Arg1, Arg2, Arg3, Arg4) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn(Arg3, Arg4) -> Ret

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric, Arg3: JsGeneric, Arg4: JsGeneric, Arg5: JsGeneric> JsFunction2 for fn(Arg1, Arg2, Arg3, Arg4, Arg5) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn(Arg3, Arg4, Arg5) -> Ret

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric, Arg3: JsGeneric, Arg4: JsGeneric, Arg5: JsGeneric, Arg6: JsGeneric> JsFunction2 for fn(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn(Arg3, Arg4, Arg5, Arg6) -> Ret

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric, Arg3: JsGeneric, Arg4: JsGeneric, Arg5: JsGeneric, Arg6: JsGeneric, Arg7: JsGeneric> JsFunction2 for fn(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn(Arg3, Arg4, Arg5, Arg6, Arg7) -> Ret

Source§

impl<Ret: JsGeneric, Arg1: JsGeneric, Arg2: JsGeneric, Arg3: JsGeneric, Arg4: JsGeneric, Arg5: JsGeneric, Arg6: JsGeneric, Arg7: JsGeneric, Arg8: JsGeneric> JsFunction2 for fn(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8) -> Ret

Source§

type Arg2 = Arg2

Source§

type Bind2 = fn(Arg3, Arg4, Arg5, Arg6, Arg7, Arg8) -> Ret

Implementors§