Trait wasm_bindgen::closure::WasmClosure[][src]

pub unsafe trait WasmClosure: 'static {
    fn describe();
unsafe fn into_abi(me: *mut Self, extra: &mut Stack) -> u32; }

An internal trait for the Closure type.

This trait is not stable and it's not recommended to use this in bounds or implement yourself.

Required Methods

Implementations on Foreign Types

impl WasmClosure for Fn()
[src]

impl<R> WasmClosure for Fn() -> R where
    R: IntoWasmAbi + 'static, 
[src]

impl WasmClosure for FnMut()
[src]

impl<R> WasmClosure for FnMut() -> R where
    R: IntoWasmAbi + 'static, 
[src]

impl<A> WasmClosure for Fn(A) where
    A: FromWasmAbi + 'static, 
[src]

impl<A, R> WasmClosure for Fn(A) -> R where
    A: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A> WasmClosure for FnMut(A) where
    A: FromWasmAbi + 'static, 
[src]

impl<A, R> WasmClosure for FnMut(A) -> R where
    A: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B> WasmClosure for Fn(A, B) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static, 
[src]

impl<A, B, R> WasmClosure for Fn(A, B) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B> WasmClosure for FnMut(A, B) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static, 
[src]

impl<A, B, R> WasmClosure for FnMut(A, B) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C> WasmClosure for Fn(A, B, C) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static, 
[src]

impl<A, B, C, R> WasmClosure for Fn(A, B, C) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C> WasmClosure for FnMut(A, B, C) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static, 
[src]

impl<A, B, C, R> WasmClosure for FnMut(A, B, C) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D> WasmClosure for Fn(A, B, C, D) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, R> WasmClosure for Fn(A, B, C, D) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D> WasmClosure for FnMut(A, B, C, D) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, R> WasmClosure for FnMut(A, B, C, D) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D, E> WasmClosure for Fn(A, B, C, D, E) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, R> WasmClosure for Fn(A, B, C, D, E) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D, E> WasmClosure for FnMut(A, B, C, D, E) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, R> WasmClosure for FnMut(A, B, C, D, E) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F> WasmClosure for Fn(A, B, C, D, E, F) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F, R> WasmClosure for Fn(A, B, C, D, E, F) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F> WasmClosure for FnMut(A, B, C, D, E, F) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F, R> WasmClosure for FnMut(A, B, C, D, E, F) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F, G> WasmClosure for Fn(A, B, C, D, E, F, G) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static,
    G: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F, G, R> WasmClosure for Fn(A, B, C, D, E, F, G) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static,
    G: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F, G> WasmClosure for FnMut(A, B, C, D, E, F, G) where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static,
    G: FromWasmAbi + 'static, 
[src]

impl<A, B, C, D, E, F, G, R> WasmClosure for FnMut(A, B, C, D, E, F, G) -> R where
    A: FromWasmAbi + 'static,
    B: FromWasmAbi + 'static,
    C: FromWasmAbi + 'static,
    D: FromWasmAbi + 'static,
    E: FromWasmAbi + 'static,
    F: FromWasmAbi + 'static,
    G: FromWasmAbi + 'static,
    R: IntoWasmAbi + 'static, 
[src]

Implementors