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
// Error: `#name{body}` followed by neither `{body}` nor `(args){body}`
use batch_impl::batch_impl;

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

#[batch_impl(usize #m[not_a_group_or_parens])]
trait T {
    fn m(&self) -> u32;
}

fn main() {}