Struct WithoutEnv

Source
pub struct WithoutEnv;
Expand description

An empty struct to help Rust typing to determine when a HostFunction does not have an environment.

Trait Implementations§

Source§

impl<Rets, RetsAsResult, Func> HostFunction<(), (), Rets, WithoutEnv> for Func
where Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn() -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, A21: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, A21: FromToNativeWasmType, A22: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, A21: FromToNativeWasmType, A22: FromToNativeWasmType, A23: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, A21: FromToNativeWasmType, A22: FromToNativeWasmType, A23: FromToNativeWasmType, A24: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, A21: FromToNativeWasmType, A22: FromToNativeWasmType, A23: FromToNativeWasmType, A24: FromToNativeWasmType, A25: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A26, Rets, RetsAsResult, Func> HostFunction<(), (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A26), Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, A2: FromToNativeWasmType, A3: FromToNativeWasmType, A4: FromToNativeWasmType, A5: FromToNativeWasmType, A6: FromToNativeWasmType, A7: FromToNativeWasmType, A8: FromToNativeWasmType, A9: FromToNativeWasmType, A10: FromToNativeWasmType, A11: FromToNativeWasmType, A12: FromToNativeWasmType, A13: FromToNativeWasmType, A14: FromToNativeWasmType, A15: FromToNativeWasmType, A16: FromToNativeWasmType, A17: FromToNativeWasmType, A18: FromToNativeWasmType, A19: FromToNativeWasmType, A20: FromToNativeWasmType, A21: FromToNativeWasmType, A22: FromToNativeWasmType, A23: FromToNativeWasmType, A24: FromToNativeWasmType, A25: FromToNativeWasmType, A26: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22, A23, A24, A25, A26) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl<A1, Rets, RetsAsResult, Func> HostFunction<(), A1, Rets, WithoutEnv> for Func
where A1: FromToNativeWasmType, Rets: WasmTypeList, RetsAsResult: IntoResult<Rets>, Func: Fn(A1) -> RetsAsResult + 'static,

Source§

fn function_callback(&self, rt: BackendKind) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn function_callback_sys(&self) -> VMFunctionCallback

Get the pointer to the function body for a given runtime.
Source§

fn call_trampoline_address() -> VMTrampoline

Get the pointer to the function call trampoline for a given runtime.
Source§

impl HostFunctionKindSealed for WithoutEnv

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcastable for T
where T: Any + Send + Sync + 'static,

§

fn upcast_any_ref(&self) -> &(dyn Any + 'static)

upcast ref
§

fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)

upcast mut ref
§

fn upcast_any_box(self: Box<T>) -> Box<dyn Any>

upcast boxed dyn
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more