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
// 错误:`#delegate` 参数是解构模式,无法委托转发
use batch_impl::batch_impl_only;

#[batch_impl_only(usize #delegate(m){**self})]
trait Dummy {
    fn m(&self, (a, b): (i32, i32)) -> i32;
}

fn main() {}