On Thu, Jul 18, 2013 at 3:33 PM, Daniel Micay <[email protected]> wrote:
> Plenty of types can't actually be ordered, and in *many* cases not all
> fields should be considered for equality/ordering and they may or may
> not be listed in the order the comparison should try.
>

I've wanted like #[deriving(Ord(a, b), Eq(b, c))] which would define
not only which fields are used for comparison but also the order of
the fields for... ordering.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to