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
10
11
12
use crate::sub_module::addr::Addr;

#[derive(Default)]
pub struct AddChild {}


impl Addr for AddChild {
    fn add(&self, x1: usize, x2: usize) -> usize {
        x1 + x2
    }
}