[−][src]Trait wasmer_runtime_core::typed_func::ExternalFunction
Represents a function that can be converted to a vm::Func
(function pointer) that can be called within WebAssembly.
Required methods
Loading content...Implementors
impl<A, B, C, D, E, F, G, H, I, J, K, L, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F, G, H, I, J, K, L), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
L: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I, J, K, L) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
L: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I, J, K, L) -> Trap,
impl<A, B, C, D, E, F, G, H, I, J, K, L, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F, G, H, I, J, K, L), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
L: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
L: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I, J, K, L) -> Trap,
impl<A, B, C, D, E, F, G, H, I, J, K, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F, G, H, I, J, K), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I, J, K) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I, J, K) -> Trap,
impl<A, B, C, D, E, F, G, H, I, J, K, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F, G, H, I, J, K), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I, J, K) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
K: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I, J, K) -> Trap,
impl<A, B, C, D, E, F, G, H, I, J, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F, G, H, I, J), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I, J) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I, J) -> Trap,
impl<A, B, C, D, E, F, G, H, I, J, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F, G, H, I, J), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I, J) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
J: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I, J) -> Trap,
impl<A, B, C, D, E, F, G, H, I, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F, G, H, I), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H, I) -> Trap,
impl<A, B, C, D, E, F, G, H, I, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F, G, H, I), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
I: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H, I) -> Trap,
impl<A, B, C, D, E, F, G, H, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F, G, H), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G, H) -> Trap,
impl<A, B, C, D, E, F, G, H, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F, G, H), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
H: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G, H) -> Trap,
impl<A, B, C, D, E, F, G, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F, G), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F, G) -> Trap,
impl<A, B, C, D, E, F, G, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F, G), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
G: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F, G) -> Trap,
impl<A, B, C, D, E, F, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E, F), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E, F) -> Trap,
impl<A, B, C, D, E, F, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E, F), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
F: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E, F) -> Trap,
impl<A, B, C, D, E, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D, E), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D, E) -> Trap,
impl<A, B, C, D, E, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D, E), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
E: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D, E) -> Trap,
impl<A, B, C, D, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C, D), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C, D) -> Trap,
impl<A, B, C, D, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C, D), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
D: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C, D) -> Trap,
impl<A, B, C, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B, C), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B, C) -> Trap,
impl<A, B, C, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B, C), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
C: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B, C) -> Trap,
impl<A, B, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (A, B), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A, B) -> Trap,
impl<A, B, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (A, B), Rets> for FN where
A: WasmExternType,
B: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B) -> Trap,
[src]
A: WasmExternType,
B: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A, B) -> Trap,
impl<A, Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, A, Rets> for FN where
A: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A) -> Trap,
[src]
A: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx, A) -> Trap,
impl<A, Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, A, Rets> for FN where
A: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A) -> Trap,
[src]
A: WasmExternType,
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(A) -> Trap,
impl<Rets, Trap, FN> ExternalFunction<ExplicitVmCtx, (), Rets> for FN where
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx) -> Trap,
[src]
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn(&mut Ctx) -> Trap,
impl<Rets, Trap, FN> ExternalFunction<ImplicitVmCtx, (), Rets> for FN where
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn() -> Trap,
[src]
Rets: WasmTypeList,
Trap: TrapEarly<Rets>,
FN: Fn() -> Trap,