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_impl;

// `Box:999999` — an unbounded deref depth would expand into a pathological
// type and overflow rustc; capped at MAX_BLANKET_DEPTH (128).
#[batch_impl(#blanket(@all_methods){Box:999999})]
trait HugeDepth {
    fn tag(&self);
}

fn main() {}