[][src]Struct wasmer_runtime::Func

pub struct Func<'a, Args = (), Rets = (), Inner = Wasm> where
    Inner: Kind
{ /* fields omitted */ }

Represents a function that can be used by WebAssembly.

Implementations

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

pub fn new<F, Kind>(func: F) -> Func<'a, Args, Rets, Host> where
    F: HostFunction<Kind, Args, Rets>,
    Kind: HostFunctionKind, 
[src]

Creates a new Func.

impl<'a, Args, Rets, Inner> Func<'a, Args, Rets, Inner> where
    Args: WasmTypeList,
    Inner: Kind,
    Rets: WasmTypeList
[src]

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

Returns the types of the function inputs.

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

Returns the types of the function outputs.

pub fn get_vm_func(&self) -> NonNull<Func>[src]

Get the underlying func pointer.

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

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

Call the typed func and return results.

impl<'a, A, Rets> Func<'a, A, Rets, Wasm> where
    A: WasmExternType,
    Rets: WasmTypeList
[src]

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

Call the typed func and return results.

impl<'a, A, B, Rets> Func<'a, (A, B), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    Rets: WasmTypeList
[src]

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

Call the typed func and return results.

impl<'a, A, B, C, Rets> Func<'a, (A, B, C), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    Rets: WasmTypeList
[src]

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

Call the typed func and return results.

impl<'a, A, B, C, D, Rets> Func<'a, (A, B, C, D), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(&self, A: A, B: B, C: C, D: D) -> Result<Rets, RuntimeError>[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, Rets> Func<'a, (A, B, C, D, E), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(&self, A: A, B: B, C: C, D: D, E: E) -> Result<Rets, RuntimeError>[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, Rets> Func<'a, (A, B, C, D, E, F), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, Rets> Func<'a, (A, B, C, D, E, F, G), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, Rets> Func<'a, (A, B, C, D, E, F, G, H), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, Rets> Func<'a, (A, B, C, D, E, F, G, H, I), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType,
    U: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T,
    U: U
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType,
    U: WasmExternType,
    V: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T,
    U: U,
    V: V
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType,
    U: WasmExternType,
    V: WasmExternType,
    W: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T,
    U: U,
    V: V,
    W: W
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType,
    U: WasmExternType,
    V: WasmExternType,
    W: WasmExternType,
    X: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T,
    U: U,
    V: V,
    W: W,
    X: X
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType,
    U: WasmExternType,
    V: WasmExternType,
    W: WasmExternType,
    X: WasmExternType,
    Y: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T,
    U: U,
    V: V,
    W: W,
    X: X,
    Y: Y
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Rets> Func<'a, (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z), Rets, Wasm> where
    A: WasmExternType,
    B: WasmExternType,
    C: WasmExternType,
    D: WasmExternType,
    E: WasmExternType,
    F: WasmExternType,
    G: WasmExternType,
    H: WasmExternType,
    I: WasmExternType,
    J: WasmExternType,
    K: WasmExternType,
    L: WasmExternType,
    M: WasmExternType,
    N: WasmExternType,
    O: WasmExternType,
    P: WasmExternType,
    Q: WasmExternType,
    R: WasmExternType,
    Rets: WasmTypeList,
    S: WasmExternType,
    T: WasmExternType,
    U: WasmExternType,
    V: WasmExternType,
    W: WasmExternType,
    X: WasmExternType,
    Y: WasmExternType,
    Z: WasmExternType
[src]

pub fn call(
    &self,
    A: A,
    B: B,
    C: C,
    D: D,
    E: E,
    F: F,
    G: G,
    H: H,
    I: I,
    J: J,
    K: K,
    L: L,
    M: M,
    N: N,
    O: O,
    P: P,
    Q: Q,
    R: R,
    S: S,
    T: T,
    U: U,
    V: V,
    W: W,
    X: X,
    Y: Y,
    Z: Z
) -> Result<Rets, RuntimeError>
[src]

Call the typed func and return results.

Trait Implementations

impl<'a, Args, Rets, Inner> Clone for Func<'a, Args, Rets, Inner> where
    Args: Clone,
    Inner: Kind + Clone,
    Rets: Clone
[src]

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

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

impl<'a, Args, Rets> Send for Func<'a, Args, Rets, Wasm>[src]

impl<'a, Args, Rets> Send for Func<'a, Args, Rets, Host>[src]

Auto Trait Implementations

impl<'a, Args = (), Rets = (), Inner = Wasm> !RefUnwindSafe for Func<'a, Args, Rets, Inner>

impl<'a, Args = (), Rets = (), Inner = Wasm> !Send for Func<'a, Args, Rets, Inner>

impl<'a, Args = (), Rets = (), Inner = Wasm> !Sync for Func<'a, Args, Rets, Inner>

impl<'a, Args, Rets, Inner> Unpin for Func<'a, Args, Rets, Inner> where
    Args: Unpin,
    Inner: Unpin,
    Rets: Unpin

impl<'a, Args = (), Rets = (), Inner = Wasm> !UnwindSafe for Func<'a, Args, Rets, Inner>

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.