batch-impl 0.6.6

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
// A bare `where predicate` in the new syntax missing a code block should error in preprocessing
use batch_impl::batch_impl;

#[batch_impl(<T> Sortable<T> Vec<T> where T: Ord)]
trait Sortable<T> {
    fn is_sorted(&self) -> bool;
}