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
// 错误:`-` 后缺少操作数(尾随运算符,原先会静默丢弃整段)
use batch_impl::batch_impl;

#[batch_impl(usize, f32 Vec^-)]
trait T {
    fn tag(&self) -> &'static str { "x" }
}

fn main() {}