[rust-dev] Fwd: &self/&mut self in traits considered harmful(?)

SiegeLord slabode at aim.com
Thu Jun 19 05:14:00 PDT 2014


On 06/19/2014 07:59 AM, SiegeLord wrote:
> I will note that you could very well implement a by-value self operator
> overload trait

Forgot to finish this one. I was going to go into how you could 
implement it for a &Foo to get your 'by-ref' behavior back. Of course 
this ruins generics, but they are tricky regardless (see the rest of 
that email).

-SL



More information about the Rust-dev mailing list