Struct wasmer::NativeFunc
source · [−]Expand description
A WebAssembly function that can be called natively (using the Native ABI).
Implementations
sourceimpl<Rets> NativeFunc<(), Rets> where
Rets: WasmTypeList,
impl<Rets> NativeFunc<(), Rets> where
Rets: WasmTypeList,
sourcepub fn call(&self) -> Result<Rets, RuntimeError>
pub fn call(&self) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, Rets> NativeFunc<A1, Rets> where
A1: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, Rets> NativeFunc<A1, Rets> where
A1: FromToNativeWasmType,
Rets: WasmTypeList,
sourcepub fn call(&self, A1: A1) -> Result<Rets, RuntimeError>
pub fn call(&self, A1: A1) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, Rets> NativeFunc<(A1, A2), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, Rets> NativeFunc<(A1, A2), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
Rets: WasmTypeList,
sourcepub fn call(&self, A1: A1, A2: A2) -> Result<Rets, RuntimeError>
pub fn call(&self, A1: A1, A2: A2) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, A3, Rets> NativeFunc<(A1, A2, A3), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, Rets> NativeFunc<(A1, A2, A3), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
Rets: WasmTypeList,
sourcepub fn call(&self, A1: A1, A2: A2, A3: A3) -> Result<Rets, RuntimeError>
pub fn call(&self, A1: A1, A2: A2, A3: A3) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, A3, A4, Rets> NativeFunc<(A1, A2, A3, A4), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
Rets: WasmTypeList,
impl<A1, A2, A3, A4, Rets> NativeFunc<(A1, A2, A3, A4), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
Rets: WasmTypeList,
sourcepub fn call(&self, A1: A1, A2: A2, A3: A3, A4: A4) -> Result<Rets, RuntimeError>
pub fn call(&self, A1: A1, A2: A2, A3: A3, A4: A4) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, A3, A4, A5, Rets> NativeFunc<(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> NativeFunc<(A1, A2, A3, A4, A5), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
Rets: WasmTypeList,
sourcepub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5
) -> Result<Rets, RuntimeError>
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5
) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, A3, A4, A5, A6, Rets> NativeFunc<(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> NativeFunc<(A1, A2, A3, A4, A5, A6), Rets> where
A1: FromToNativeWasmType,
A2: FromToNativeWasmType,
A3: FromToNativeWasmType,
A4: FromToNativeWasmType,
A5: FromToNativeWasmType,
A6: FromToNativeWasmType,
Rets: WasmTypeList,
sourcepub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6
) -> Result<Rets, RuntimeError>
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6
) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7
) -> Result<Rets, RuntimeError>
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7
) -> Result<Rets, RuntimeError>
Call the typed func and return results.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8
) -> Result<Rets, RuntimeError>
pub fn call(
&self,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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.
sourceimpl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Rets> NativeFunc<(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> NativeFunc<(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,
sourcepub fn call(
&self,
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,
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
sourceimpl<Args: WasmTypeList, Rets: WasmTypeList> Clone for NativeFunc<Args, Rets>
impl<Args: WasmTypeList, Rets: WasmTypeList> Clone for NativeFunc<Args, Rets>
sourceimpl<Args, Rets> From<&'_ NativeFunc<Args, Rets>> for ExportFunction where
Args: WasmTypeList,
Rets: WasmTypeList,
impl<Args, Rets> From<&'_ NativeFunc<Args, Rets>> for ExportFunction where
Args: WasmTypeList,
Rets: WasmTypeList,
sourcefn from(other: &NativeFunc<Args, Rets>) -> Self
fn from(other: &NativeFunc<Args, Rets>) -> Self
Converts to this type from the input type.
sourceimpl<Args, Rets> From<NativeFunc<Args, Rets>> for Function where
Args: WasmTypeList,
Rets: WasmTypeList,
impl<Args, Rets> From<NativeFunc<Args, Rets>> for Function where
Args: WasmTypeList,
Rets: WasmTypeList,
sourcefn from(other: NativeFunc<Args, Rets>) -> Self
fn from(other: NativeFunc<Args, Rets>) -> Self
Converts to this type from the input type.
impl<Args, Rets> Send for NativeFunc<Args, Rets>
Auto Trait Implementations
impl<Args = (), Rets = ()> !RefUnwindSafe for NativeFunc<Args, Rets>
impl<Args, Rets> Sync for NativeFunc<Args, Rets> where
Args: Sync,
Rets: Sync,
impl<Args, Rets> Unpin for NativeFunc<Args, Rets> where
Args: Unpin,
Rets: Unpin,
impl<Args = (), Rets = ()> !UnwindSafe for NativeFunc<Args, Rets>
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Upcastable for T where
T: 'static + Any + Send + Sync,
impl<T> Upcastable for T where
T: 'static + Any + Send + Sync,
sourcefn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
sourcefn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more