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
use batch_impl::batch_trait;

// `@all` / `@all_*` are reserved item selectors — rejected at the constant
// definition (both the bare `@all` and the `@all_*` family).
batch_trait! {
    @all = [u8];
    A: TraitA;
}

trait TraitA {}
fn main() {}