[][src]Macro ogma::mod_list

macro_rules! mod_list {
    () => { ... };
    ($ctx:ty => $($item:ty),*) => { ... };
}

Creates a Module from a list of types

ogma::mod_list!(Ctx => A, B, C) // => ModuleList<'a¸ Ctx>

If A, B and C implement Matcher and Callable then mod_list!(Ctx => A, B, C) should implement Module<'a, Ctx>