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

// `<...>` cannot start a `()` group: a tuple element must be a complete type
// (`(Box<u8>,)` is fine, `(<u8>)` / `(<Clone>,)` are not).
#[batch_impl((<u8>)^2 { fn tag(&self) {} })]
trait GroupAngle {}

fn main() {}