Skip to main content

JsFunction1

Trait JsFunction1 

Source
pub trait JsFunction1: JsFunction {
    type Arg1: JsGeneric;
    type Bind1: JsFunction;
}

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

type Arg1 = Arg1

Source§

type Bind1 = fn() -> Ret

Source§

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

Source§

type Arg1 = Arg1

Source§

type Bind1 = fn(Arg2) -> Ret

Source§

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

Source§

type Arg1 = Arg1

Source§

type Bind1 = fn(Arg2, Arg3) -> Ret

Source§

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

Source§

type Arg1 = Arg1

Source§

type Bind1 = fn(Arg2, Arg3, Arg4) -> Ret

Source§

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

Source§

type Arg1 = Arg1

Source§

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

Source§

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

Source§

type Arg1 = Arg1

Source§

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

Source§

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

Source§

type Arg1 = Arg1

Source§

type Bind1 = fn(Arg2, 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> JsFunction1 for fn(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8) -> Ret

Source§

type Arg1 = Arg1

Source§

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

Implementors§