Trait mun_runtime::IntoFunctionDefinition[][src]

pub trait IntoFunctionDefinition {
    pub fn into<S>(
        self,
        name: S
    ) -> (FunctionDefinition, FunctionDefinitionStorage)
    where
        S: AsRef<str>
; }

A value-to-FunctionDefinition conversion that consumes the input value.

Required methods

pub fn into<S>(self, name: S) -> (FunctionDefinition, FunctionDefinitionStorage) where
    S: AsRef<str>, 
[src]

Performs the conversion.

Loading content...

Implementations on Foreign Types

impl<R, A, B, C, D, E, F, G> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G) -> R where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<R, A> IntoFunctionDefinition for extern "C" fn(A) -> R where
    A: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<R, A, B> IntoFunctionDefinition for extern "C" fn(A, B) -> R where
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<A, B, C, D, E, F, G> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G) where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo
[src]

impl<R, A, B, C, D> IntoFunctionDefinition for extern "C" fn(A, B, C, D) -> R where
    C: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<R, A, B, C, D, E> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E) -> R where
    C: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl IntoFunctionDefinition for extern "C" fn()[src]

impl<R, A, B, C> IntoFunctionDefinition for extern "C" fn(A, B, C) -> R where
    C: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<R> IntoFunctionDefinition for extern "C" fn() -> R where
    R: HasStaticTypeInfo
[src]

impl<A, B> IntoFunctionDefinition for extern "C" fn(A, B) where
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo
[src]

impl<A, B, C, D, E, F, G, H> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G, H) where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    H: HasStaticTypeInfo
[src]

impl<R, A, B, C, D, E, F, G, H> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G, H) -> R where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    H: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<A, B, C> IntoFunctionDefinition for extern "C" fn(A, B, C) where
    C: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo
[src]

impl<A, B, C, D, E, F> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F) where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo
[src]

impl<R, A, B, C, D, E, F, G, H, I, J> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G, H, I, J) -> R where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    H: HasStaticTypeInfo,
    I: HasStaticTypeInfo,
    J: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<A, B, C, D> IntoFunctionDefinition for extern "C" fn(A, B, C, D) where
    C: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo
[src]

impl<R, A, B, C, D, E, F, G, H, I> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G, H, I) -> R where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    H: HasStaticTypeInfo,
    I: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<A> IntoFunctionDefinition for extern "C" fn(A) where
    A: HasStaticTypeInfo
[src]

impl<A, B, C, D, E> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E) where
    C: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo
[src]

impl<R, A, B, C, D, E, F> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F) -> R where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    R: HasStaticTypeInfo
[src]

impl<A, B, C, D, E, F, G, H, I, J> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G, H, I, J) where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    H: HasStaticTypeInfo,
    I: HasStaticTypeInfo,
    J: HasStaticTypeInfo
[src]

impl<A, B, C, D, E, F, G, H, I> IntoFunctionDefinition for extern "C" fn(A, B, C, D, E, F, G, H, I) where
    C: HasStaticTypeInfo,
    F: HasStaticTypeInfo,
    A: HasStaticTypeInfo,
    B: HasStaticTypeInfo,
    D: HasStaticTypeInfo,
    E: HasStaticTypeInfo,
    G: HasStaticTypeInfo,
    H: HasStaticTypeInfo,
    I: HasStaticTypeInfo
[src]

Loading content...

Implementors

Loading content...