Struct wasmer_wasix::syscalls::TypedFunction
pub(crate) struct TypedFunction<Args, Rets> {
pub(crate) func: Function,
_phantom: PhantomData<fn(_: Args) -> Rets>,
}
Expand description
A WebAssembly function that can be called natively (using the Native ABI).
Fields§
§func: Function
§_phantom: PhantomData<fn(_: Args) -> Rets>
Implementations§
§impl<Rets> TypedFunction<(), Rets>where
Rets: WasmTypeList,
impl<Rets> TypedFunction<(), Rets>where
Rets: WasmTypeList,
pub fn call(&self, store: &mut impl AsStoreMut) -> Result<Rets, RuntimeError>
pub fn call(&self, store: &mut impl AsStoreMut) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, Rets> TypedFunction<A1, Rets>where
A1: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, Rets> TypedFunction<A1, Rets>where
A1: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, Rets> TypedFunction<(A1, A2), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, Rets> TypedFunction<(A1, A2), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, Rets> TypedFunction<(A1, A2, A3), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, Rets> TypedFunction<(A1, A2, A3), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, Rets> TypedFunction<(A1, A2, A3, A4), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, Rets> TypedFunction<(A1, A2, A3, A4), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, Rets> TypedFunction<(A1, A2, A3, A4, A5), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, A5, Rets> TypedFunction<(A1, A2, A3, A4, A5), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, A5, A6, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, A5, A6, A7, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
A8: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, A5, A6, A7, A8, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
A8: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
A8: FromToNativeWasmType,
A9: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
A8: FromToNativeWasmType,
A9: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
A8: FromToNativeWasmType,
A9: FromToNativeWasmType,
A10: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), Rets>where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
A7: FromToNativeWasmType,
A8: FromToNativeWasmType,
A9: FromToNativeWasmType,
A10: FromToNativeWasmType,
Rets: WasmTypeList,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
A15: A15,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, A15: A15, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
A15: A15,
A16: A16,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, A15: A15, A16: A16, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
A15: A15,
A16: A16,
A17: A17,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, A15: A15, A16: A16, A17: A17, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
A15: A15,
A16: A16,
A17: A17,
A18: A18,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, A15: A15, A16: A16, A17: A17, A18: A18, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
A15: A15,
A16: A16,
A17: A17,
A18: A18,
A19: A19,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, A15: A15, A16: A16, A17: A17, A18: A18, A19: A19, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
§impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20), Rets>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,
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Rets> TypedFunction<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20), Rets>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,
pub fn call(
&self,
store: &mut impl AsStoreMut,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9,
A10: A10,
A11: A11,
A12: A12,
A13: A13,
A14: A14,
A15: A15,
A16: A16,
A17: A17,
A18: A18,
A19: A19,
A20: A20,
) -> Result<Rets, RuntimeError>
pub fn call( &self, store: &mut impl AsStoreMut, A1: A1, A2: A2, A3: A3, A4: A4, A5: A5, A6: A6, A7: A7, A8: A8, A9: A9, A10: A10, A11: A11, A12: A12, A13: A13, A14: A14, A15: A15, A16: A16, A17: A17, A18: A18, A19: A19, A20: A20, ) -> Result<Rets, RuntimeError>
Call the typed func and return results.
Trait Implementations§
§impl<Args, Rets> Clone for TypedFunction<Args, Rets>
impl<Args, Rets> Clone for TypedFunction<Args, Rets>
§fn clone(&self) -> TypedFunction<Args, Rets>
fn clone(&self) -> TypedFunction<Args, Rets>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl<Args, Rets> Debug for TypedFunction<Args, Rets>
impl<Args, Rets> Debug for TypedFunction<Args, Rets>
§impl<Args, Rets> From<TypedFunction<Args, Rets>> for Functionwhere
Args: WasmTypeList,
Rets: WasmTypeList,
impl<Args, Rets> From<TypedFunction<Args, Rets>> for Functionwhere
Args: WasmTypeList,
Rets: WasmTypeList,
§fn from(other: TypedFunction<Args, Rets>) -> Function
fn from(other: TypedFunction<Args, Rets>) -> Function
impl<Args, Rets> Send for TypedFunction<Args, Rets>
impl<Args, Rets> Sync for TypedFunction<Args, Rets>
Auto Trait Implementations§
impl<Args, Rets> Freeze for TypedFunction<Args, Rets>
impl<Args, Rets> RefUnwindSafe for TypedFunction<Args, Rets>
impl<Args, Rets> Unpin for TypedFunction<Args, Rets>
impl<Args, Rets> UnwindSafe for TypedFunction<Args, Rets>
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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