batch-impl 0.6.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
13
// Error: `#delegate` used on a const item, should error "methods only"
use batch_impl::batch_impl;

trait HasConst {
    const VALUE: u32;
}

#[batch_impl(usize #delegate(VALUE){0})]
trait HasConst {
    const VALUE: u32;
}

fn main() {}