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

// Bindings (`Item = u32`) are only valid on a trait path or in a generic
// declaration — a concrete type's args are a plain type list.
struct Assoc<T> {
    v: T,
}

#[batch_impl(Assoc<Item = u32>)]
trait BadBinding {}

fn main() {}