impl_variadics 0.3.0

a macro to generate repetitive idents etc. usually used to implement trait for tuples.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use impl_variadics::impl_variadics;

impl_variadics! {
    1..6 "GrowMode*" "T*" => {
        pub type #GrowMode0<#(#T0,)*> = (#(#T0,)*);
    };

    1..6 "RepeatMode*" => {
        pub type #RepeatMode0<T> = (#(T,)*);
    }
}

fn main() {}