auto-delegate 0.1.3

Auto delegate allows you that automatic impl of traits and delegate their handling to child members.
Documentation
1
2
3
4
5
6
7
8
9
use auto_delegate_impl::delegate;

pub mod child;
pub mod parent;

#[delegate]
pub trait Increment {
    fn increment(&mut self) -> usize;
}