batch-impl 0.6.1

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
9
10
// 错误:Raw 数字作为左侧操作数(DSL 禁止)
use batch_impl::batch_impl;

trait T {}

// `0^T` → 数字作为左侧,DSL 规则不允许
#[batch_impl(0^T)]
trait T {}

fn main() {}