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 参数改名(X 对应形参 T),自动继承要求同名
use batch_impl::batch_impl;

#[batch_impl(<X> A<X> ())]
trait A<T: Clone> {}

fn main() {}