batch-impl 0.7.2

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Error: invalid comma position in `#fill` argument list (consecutive commas)
use batch_impl::batch_impl;

trait T {
    fn m(&self) -> u32;
    fn n(&self) -> u32;
}

#[batch_impl(usize #fill(m,,n){0})]
trait T {
    fn m(&self) -> u32;
    fn n(&self) -> u32;
}

fn main() {}