Description
Let's implement all the traits!!
All of the "Derive Blah
when possible" issues have code in tree already that they can crib from, so shouldn't be too difficult to write.
Once we start deriving lots of different traits, I expect we may find that we can unify their implementations, or at least make a generic CanDeriveTrait<T: DerivableTrait>
kind of generic thing.
-
"manually" implement
Debug
when we cannot derive it: Emit a "manual" implementation of Debug when it cannot be derived #875 -
Derive
Hash
when possible: Derive Hash when we can #876- "manually" implement
Hash
when we cannot derive it: "manually" implement Hash when it cannot be derived #877
- "manually" implement
-
Derive
PartialEq
when possible: Derive PartialEq when possible #878-
"manually" implement
PartialEq
when we cannot derive it: "manually" implement PartialEq when it cannot be derived #879 -
Derive
Eq
when possible: DeriveEq
when possible #880- "manually" implement
Eq
when we cannot derive it: "manually" implement Eq when we cannot derive it #881
- "manually" implement
-
-
Derive
PartialOrd
when possible: Derive PartialOrd when possible #882-
"manually" implement
PartialOrd
when we cannot derive it: "manually" implement PartialOrd when we cannot derive it #883 -
Derive
Ord
when possible: Derive Ord when possible #884- "manually" implement
Ord
when we cannot derive it: "manually" implement Ord when we cannot derive it #885
- "manually" implement
-