batch-impl 0.5.6

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
// 错误:范围为空(起始不小于结束),不会生成任何 impl
use batch_impl::batch_impl;

#[batch_impl(()^3..2)]
trait EmptyRange {}

fn main() {}