Trait dunge::sl::IntoModule

source ·
pub trait IntoModule<A> {
    type Vertex;
    type Instance;

    // Required method
    fn into_module(self) -> Module;
}

Required Associated Types§

Required Methods§

Implementors§

source§

impl<M, O> IntoModule<()> for M
where M: FnOnce() -> O, O: Output,

§

type Vertex = ()

§

type Instance = ()

source§

impl<M, O, A> IntoModule<(A,)> for M
where M: FnOnce(A) -> O, O: Output, A: FromContextInput,

source§

impl<M, O, A, B> IntoModule<(A, B)> for M
where M: FnOnce(A, B) -> O, O: Output, A: FromContextInput, B: FromContext,

source§

impl<M, O, A, B, C> IntoModule<(A, B, C)> for M
where M: FnOnce(A, B, C) -> O, O: Output, A: FromContextInput, B: FromContext, C: FromContext,

source§

impl<M, O, A, B, C, D> IntoModule<(A, B, C, D)> for M
where M: FnOnce(A, B, C, D) -> O, O: Output, A: FromContextInput, B: FromContext, C: FromContext, D: FromContext,