batch-impl 0.6.6

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

// A bare range-family endpoint (`u8` without `..`) is not a constant —
// `check_value_refs` must reject it at the definition, not at the use site.
batch_trait! {
    @a=@u8;
    A Foo;
}

trait Foo {}
fn main() {}