JsFunction4 in js_sys - Rust (original) (raw)

Skip to main content

js_sys0.3.91

pub trait JsFunction4: JsFunction3 {
    type Arg4: JsGeneric;
    type Bind4: JsFunction;
}

Required Associated Types§

Source

type Arg4: JsGeneric

Source

type Bind4: JsFunction

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, Arg3: JsGeneric, Arg4: JsGeneric> JsFunction4 for fn(Arg1, Arg2, Arg3, Arg4) -> Ret

Source§

type Arg4 = Arg4

Source§

type Bind4 = fn() -> Ret

Source§

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

Source§

type Arg4 = Arg4

Source§

type Bind4 = fn(Arg5) -> Ret

Source§

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

Source§

type Arg4 = Arg4

Source§

type Bind4 = fn(Arg5, Arg6) -> Ret

Source§

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

Source§

type Arg4 = Arg4

Source§

type Bind4 = fn(Arg5, Arg6, Arg7) -> Ret

Source§

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

Source§

type Arg4 = Arg4

Source§

type Bind4 = fn(Arg5, Arg6, Arg7, Arg8) -> Ret

Implementors§