extend 1.2.0

Create extensions for types you don't own with extension traits but without the boilerplate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod foo {
    use extend::ext;

    #[ext(pub)]
    impl<T1, T2, T3> (T1, T2, T3) {
        fn size(&self) -> usize {
            3
        }
    }
}

fn main() {
    use foo::TupleOfT1T2T3Ext;

    assert_eq!(3, (0, 0, 0).size());
}