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
// Error: `-` missing an exclusion target (expected an identifier or the `@all` marker)
use batch_impl::batch_impl;

#[batch_impl(usize #fill(a, -){0})]
trait T {
    fn a(&self) -> u32;
}

fn main() {}