Skip to main content

FunctionIntoClosure

Trait FunctionIntoClosure 

Source
pub trait FunctionIntoClosure: JsFunction {
    type ClosureTypeMut: WasmClosure + ?Sized;
}

Required Associated Types§

Source

type ClosureTypeMut: WasmClosure + ?Sized

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<A, B, C, D, E, F, G, H, R> FunctionIntoClosure for fn(A, B, C, D, E, F, G, H) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B, C, D, E, F, G, H) -> R

Source§

impl<A, B, C, D, E, F, G, R> FunctionIntoClosure for fn(A, B, C, D, E, F, G) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B, C, D, E, F, G) -> R

Source§

impl<A, B, C, D, E, F, R> FunctionIntoClosure for fn(A, B, C, D, E, F) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B, C, D, E, F) -> R

Source§

impl<A, B, C, D, E, R> FunctionIntoClosure for fn(A, B, C, D, E) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B, C, D, E) -> R

Source§

impl<A, B, C, D, R> FunctionIntoClosure for fn(A, B, C, D) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B, C, D) -> R

Source§

impl<A, B, C, R> FunctionIntoClosure for fn(A, B, C) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B, C) -> R

Source§

impl<A, B, R> FunctionIntoClosure for fn(A, B) -> R

Source§

type ClosureTypeMut = dyn FnMut(A, B) -> R

Source§

impl<A, R> FunctionIntoClosure for fn(A) -> R

Source§

type ClosureTypeMut = dyn FnMut(A) -> R

Source§

impl<R> FunctionIntoClosure for fn() -> R

Source§

type ClosureTypeMut = dyn FnMut() -> R

Implementors§