batch-impl 0.8.2

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
9
use batch_impl::batch_impl;

// a variadic segment is only legal as a tuple element inside `impl{...}`
#[batch_impl(u8 impl{A@..} { fn n(&self) -> usize { 0 } })]
trait BadVarSegOutside {
    fn n(&self) -> usize;
}

fn main() {}