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

// `Box^Vec-u32` = `Box-Vec-u32` = `Box<Vec, u32>` (the `-` identity) — the
// preview renders the impl and attaches the associativity-miswrite note.
batch_preview! {
    #[batch_impl(Box^Vec-u32)]
    trait Pv2 {}
}

fn main() {}