pub trait FuncConstructor<WB: WasmBackend> {
Show 68 methods // Required methods fn new_typed_with_env_0<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>) + Send + Sync + 'static; fn new_typed_with_env_0_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>) -> i32 + Send + Sync + 'static; fn new_typed_with_env_1<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32) + Send + Sync + 'static; fn new_typed_with_env_1_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_2<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_2_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_3<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_3_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_4<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_4_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_5<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_5_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_6<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_6_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_7<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_7_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_8<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_8_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_9<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_9_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_10<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_10_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_11<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_11_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_12<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_12_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_13<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_13_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_14<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_14_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_15<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_15_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; fn new_typed_with_env_16<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static; fn new_typed_with_env_16_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static; // Provided methods fn new_typed_0<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn() + Send + Sync + 'static { ... } fn new_typed_0_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn() -> i32 + Send + Sync + 'static { ... } fn new_typed_1<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32) + Send + Sync + 'static { ... } fn new_typed_1_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_2<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32) + Send + Sync + 'static { ... } fn new_typed_2_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_3<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_3_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_4<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_4_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_5<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_5_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_6<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_6_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_7<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_7_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_8<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_8_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_9<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_9_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_10<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_10_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_11<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_11_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_12<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_12_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_13<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_13_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_14<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_14_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_15<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_15_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... } fn new_typed_16<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static { ... } fn new_typed_16_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static { ... }
}

Required Methods§

source

fn new_typed_with_env_0<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>) + Send + Sync + 'static,

source

fn new_typed_with_env_0_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_1<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_1_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_2<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_2_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_3<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_3_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_4<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_4_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_5<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_5_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_6<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_6_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_7<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_7_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_8<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_8_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_9<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_9_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_10<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_10_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_11<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_11_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_12<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_12_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_13<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_13_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_14<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_14_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_15<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_15_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_with_env_16<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_with_env_16_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(<WB as WasmBackend>::ImportCallContext<'_>, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

Provided Methods§

source

fn new_typed_0<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn() + Send + Sync + 'static,

source

fn new_typed_0_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn() -> i32 + Send + Sync + 'static,

source

fn new_typed_1<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32) + Send + Sync + 'static,

source

fn new_typed_1_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_2<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32) + Send + Sync + 'static,

source

fn new_typed_2_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_3<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_3_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_4<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_4_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_5<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_5_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_6<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_6_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_7<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_7_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_8<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_8_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_9<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_9_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_10<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_10_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_11<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_11_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_12<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_12_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_13<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_13_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_14<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_14_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_15<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_15_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

source

fn new_typed_16<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) + Send + Sync + 'static,

source

fn new_typed_16_r<F>( ctx: <WB as WasmBackend>::ContextMut<'_>, func: F ) -> <WB as WasmBackend>::HostFunction
where F: Fn(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32) -> i32 + Send + Sync + 'static,

Object Safety§

This trait is not object safe.

Implementors§