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;

// A standalone `{! ...}` block (no attached type) has no spec body to
// prepend to the macro input — error instead of emitting invalid Rust.
#[batch_impl({! some_macro!{}})]
trait NoAttach {}

fn main() {}