On Tue, Nov 05, 2013 at 08:53:45PM -0800, Ziad Hatahet wrote:
> This relieves one form writing wrapper classes in order for certain
> structs to adhere to particular interfaces.

Partially, yes. Where this breaks down is if you have a type from one
crate and an interface from another. We can't help you there, though
you can often workaround this problem by wrapping the type in a struct
that you created, and defining the interface on that struct type
instead.


Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to