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
8
9
10
11
12
13
14
15
// 错误:`#fill` 参数列表逗号位置不合法(连续逗号)
use batch_impl::batch_impl;

trait T {
    fn m(&self) -> u32;
    fn n(&self) -> u32;
}

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

fn main() {}