[rust-dev] Automatic Clone Derivation Proposal

Corey Richardson corey at octayn.net
Thu Jul 18 12:39:38 PDT 2013

On Thu, Jul 18, 2013 at 3:33 PM, Daniel Micay <danielmicay at gmail.com> 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.

More information about the Rust-dev mailing list