How would you suggest using this macro to generate assignment operators for &mut types?
It currently only generates impl's for straight values and not references.
Thanks!
let mut dk = DonkeyKong::new(4);
let dk = &mut dk.clone();
dk += DonkeyKong::new(1); // compile error, no impl
assert_eq!(DonkeyKong::new(6), dk);
You can get around this by manually dereferencing dk. primitive types don't support this operation, so I think this it out of scope for this repository.
How would you suggest using this macro to generate assignment operators for &mut types? It currently only generates impl's for straight values and not references.
Thanks!