[−][src]Struct wasmer_runtime::Func
Represents a function that can be used by WebAssembly.
Implementations
impl<Args, Rets> Func<Args, Rets> where
Args: WasmTypeList,
Rets: WasmTypeList, [src]
Args: WasmTypeList,
Rets: WasmTypeList,
pub fn new<F>(func: F) -> Func<Args, Rets> where
F: HostFunction<Args, Rets, WithEnv, Ctx>, [src]
F: HostFunction<Args, Rets, WithEnv, Ctx>,
Creates a new Func.
pub fn signature(&self) -> &FunctionType[src]
Returns the full function signature.
pub fn params(&self) -> &[Type]ⓘ[src]
Returns the types of the function inputs.
pub fn returns(&self) -> &[Type]ⓘ[src]
Returns the types of the function outputs.
pub fn dyn_call(
&self,
params: &[Value<Function>]
) -> Result<Box<[Value<Function>]>, RuntimeError>[src]
&self,
params: &[Value<Function>]
) -> Result<Box<[Value<Function>]>, RuntimeError>
Call the function by passing all arguments in a slice of Value.
impl<Rets> Func<(), Rets> where
Rets: WasmTypeList, [src]
Rets: WasmTypeList,
pub fn call(&self) -> Result<Rets, RuntimeError>[src]
Call the function.
impl<A1, Rets> Func<A1, Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(&self, A1: A1) -> Result<Rets, RuntimeError>[src]
Call the function.
impl<A1, A2, Rets> Func<(A1, A2), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(&self, A1: A1, A2: A2) -> Result<Rets, RuntimeError>[src]
Call the function.
impl<A1, A2, A3, Rets> Func<(A1, A2, A3), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(&self, A1: A1, A2: A2, A3: A3) -> Result<Rets, RuntimeError>[src]
Call the function.
impl<A1, A2, A3, A4, Rets> Func<(A1, A2, A3, A4), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(&self, A1: A1, A2: A2, A3: A3, A4: A4) -> Result<Rets, RuntimeError>[src]
Call the function.
impl<A1, A2, A3, A4, A5, Rets> Func<(A1, A2, A3, A4, A5), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5
) -> Result<Rets, RuntimeError>[src]
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5
) -> Result<Rets, RuntimeError>
Call the function.
impl<A1, A2, A3, A4, A5, A6, Rets> Func<(A1, A2, A3, A4, A5, A6), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6
) -> Result<Rets, RuntimeError>[src]
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6
) -> Result<Rets, RuntimeError>
Call the function.
impl<A1, A2, A3, A4, A5, A6, A7, Rets> Func<(A1, A2, A3, A4, A5, A6, A7), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7
) -> Result<Rets, RuntimeError>[src]
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7
) -> Result<Rets, RuntimeError>
Call the function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
pub fn call(
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8
) -> Result<Rets, RuntimeError>[src]
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8
) -> Result<Rets, RuntimeError>
Call the function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&self,
A1: A1,
A2: A2,
A3: A3,
A4: A4,
A5: A5,
A6: A6,
A7: A7,
A8: A8,
A9: A9
) -> Result<Rets, RuntimeError>
Call the function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A18: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A18: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A18: FromToNativeWasmType + WasmExternTypeInner,
A19: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A18: FromToNativeWasmType + WasmExternTypeInner,
A19: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Rets> Func<(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20), Rets> where
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A18: FromToNativeWasmType + WasmExternTypeInner,
A19: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A20: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList, [src]
A1: FromToNativeWasmType + WasmExternTypeInner,
A10: FromToNativeWasmType + WasmExternTypeInner,
A11: FromToNativeWasmType + WasmExternTypeInner,
A12: FromToNativeWasmType + WasmExternTypeInner,
A13: FromToNativeWasmType + WasmExternTypeInner,
A14: FromToNativeWasmType + WasmExternTypeInner,
A15: FromToNativeWasmType + WasmExternTypeInner,
A16: FromToNativeWasmType + WasmExternTypeInner,
A17: FromToNativeWasmType + WasmExternTypeInner,
A18: FromToNativeWasmType + WasmExternTypeInner,
A19: FromToNativeWasmType + WasmExternTypeInner,
A2: FromToNativeWasmType + WasmExternTypeInner,
A20: FromToNativeWasmType + WasmExternTypeInner,
A3: FromToNativeWasmType + WasmExternTypeInner,
A4: FromToNativeWasmType + WasmExternTypeInner,
A5: FromToNativeWasmType + WasmExternTypeInner,
A6: FromToNativeWasmType + WasmExternTypeInner,
A7: FromToNativeWasmType + WasmExternTypeInner,
A8: FromToNativeWasmType + WasmExternTypeInner,
A9: FromToNativeWasmType + WasmExternTypeInner,
Rets: WasmTypeList,
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>[src]
&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 function.
Trait Implementations
impl<Args, Rets> Clone for Func<Args, Rets> where
Args: Clone + WasmTypeList,
Rets: Clone + WasmTypeList, [src]
Args: Clone + WasmTypeList,
Rets: Clone + WasmTypeList,
impl<'a, Args, Rets> Exportable<'a> for Func<Args, Rets> where
Args: WasmTypeList,
Rets: WasmTypeList, [src]
Args: WasmTypeList,
Rets: WasmTypeList,
fn to_export(&self) -> Export[src]
fn get_self_from_extern(
r#extern: &'a Extern
) -> Result<&'a Func<Args, Rets>, ExportError>[src]
r#extern: &'a Extern
) -> Result<&'a Func<Args, Rets>, ExportError>
impl<'_, Args, Rets> From<&'_ Function> for Func<Args, Rets> where
Args: WasmTypeList,
Rets: WasmTypeList, [src]
Args: WasmTypeList,
Rets: WasmTypeList,
impl<Args, Rets> From<Func<Args, Rets>> for Extern where
Args: WasmTypeList,
Rets: WasmTypeList, [src]
Args: WasmTypeList,
Rets: WasmTypeList,
Auto Trait Implementations
impl<Args = (), Rets = ()> !RefUnwindSafe for Func<Args, Rets>
impl<Args, Rets> Send for Func<Args, Rets> where
Args: Send,
Rets: Send,
Args: Send,
Rets: Send,
impl<Args, Rets> Sync for Func<Args, Rets> where
Args: Sync,
Rets: Sync,
Args: Sync,
Rets: Sync,
impl<Args, Rets> Unpin for Func<Args, Rets> where
Args: Unpin,
Rets: Unpin,
Args: Unpin,
Rets: Unpin,
impl<Args = (), Rets = ()> !UnwindSafe for Func<Args, Rets>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,