impl_variadics 0.2.0

a macro to generate repetitive idents etc. usually used to implement trait for tuples.
Documentation
use impl_variadics::impl_variadics;
use std::fmt::{Display, Formatter, Result};

struct TupleDisplay<T>(T);

impl_variadics! {
    ..4 "T*" => {
        impl<#(#T0,)*> Display for TupleDisplay<(#(#T0,)*)>
        where
            #(#T0: Display,)*
        {
            fn fmt(&self, _f: &mut Formatter) -> Result {
                #(self.0.#index.fmt(_f)?;)*
                Ok(())
            }
        }
    };
}

fn main() {
    println!("{}", TupleDisplay((1, 2, "aa")));
}