[][src]Struct wasmer_runtime::Func

pub struct Func<Args = (), Rets = ()> where
    Args: WasmTypeList,
    Rets: WasmTypeList, 
{ /* fields omitted */ }

Represents a function that can be used by WebAssembly.

Implementations

impl<Args, Rets> Func<Args, Rets> where
    Args: WasmTypeList,
    Rets: WasmTypeList, 
[src]

pub fn new<F>(func: F) -> Func<Args, Rets> where
    F: HostFunction<Args, Rets, WithEnv, Ctx>, 
[src]

Creates a new Func.

pub fn signature(&self) -> &FunctionType[src]

Returns the full function signature.

pub fn params(&self) -> &[Type]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Returns the types of the function inputs.

pub fn returns(&self) -> &[Type]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Returns the types of the function outputs.

pub fn dyn_call(
    &self,
    params: &[Value<Function>]
) -> Result<Box<[Value<Function>]>, RuntimeError>
[src]

Call the function by passing all arguments in a slice of Value.

impl<Rets> Func<(), Rets> where
    Rets: WasmTypeList, 
[src]

pub fn call(&self) -> Result<Rets, RuntimeError>[src]

Call the function.

impl<A1, Rets> Func<A1, Rets> where
    A1: FromToNativeWasmType + WasmExternTypeInner,
    Rets: WasmTypeList, 
[src]

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]

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]

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]

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]

pub fn call(
    &self,
    A1: A1,
    A2: A2,
    A3: A3,
    A4: A4,
    A5: A5
) -> Result<Rets, RuntimeError>
[src]

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]

pub fn call(
    &self,
    A1: A1,
    A2: A2,
    A3: A3,
    A4: A4,
    A5: A5,
    A6: A6
) -> Result<Rets, RuntimeError>
[src]

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]

pub fn call(
    &self,
    A1: A1,
    A2: A2,
    A3: A3,
    A4: A4,
    A5: A5,
    A6: A6,
    A7: A7
) -> Result<Rets, RuntimeError>
[src]

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]

pub fn call(
    &self,
    A1: A1,
    A2: A2,
    A3: A3,
    A4: A4,
    A5: A5,
    A6: A6,
    A7: A7,
    A8: A8
) -> Result<Rets, RuntimeError>
[src]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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]

Call the function.

Trait Implementations

impl<Args, Rets> Clone for Func<Args, Rets> where
    Args: Clone + WasmTypeList,
    Rets: Clone + WasmTypeList, 
[src]

impl<'a, Args, Rets> Exportable<'a> for Func<Args, Rets> where
    Args: WasmTypeList,
    Rets: WasmTypeList, 
[src]

impl<'_, Args, Rets> From<&'_ Function> for Func<Args, Rets> where
    Args: WasmTypeList,
    Rets: WasmTypeList, 
[src]

impl<Args, Rets> From<Func<Args, Rets>> for Extern where
    Args: WasmTypeList,
    Rets: WasmTypeList, 
[src]

Auto Trait Implementations

impl<Args = (), Rets = ()> !RefUnwindSafe for Func<Args, Rets>

impl<Args, Rets> Send for Func<Args, Rets> where
    Args: Send,
    Rets: Send

impl<Args, Rets> Sync for Func<Args, Rets> where
    Args: Sync,
    Rets: Sync

impl<Args, Rets> Unpin for Func<Args, Rets> where
    Args: Unpin,
    Rets: Unpin

impl<Args = (), Rets = ()> !UnwindSafe for Func<Args, Rets>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.