batch-impl 0.5.5

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
// 错误:`#name{body}` 引用的 item 不在 trait 中
use batch_impl::batch_impl;

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

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

fn main() {}