-
Notifications
You must be signed in to change notification settings - Fork 781
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
Debugwhen we cannot derive it: Emit a "manual" implementation of Debug when it cannot be derived #875 -
Derive
Hashwhen possible: Derive Hash when we can #876- "manually" implement
Hashwhen we cannot derive it: "manually" implement Hash when it cannot be derived #877
- "manually" implement
-
Derive
PartialEqwhen possible: Derive PartialEq when possible #878-
"manually" implement
PartialEqwhen we cannot derive it: "manually" implement PartialEq when it cannot be derived #879 -
Derive
Eqwhen possible: DeriveEqwhen possible #880- "manually" implement
Eqwhen we cannot derive it: "manually" implement Eq when we cannot derive it #881
- "manually" implement
-
-
Derive
PartialOrdwhen possible: Derive PartialOrd when possible #882-
"manually" implement
PartialOrdwhen we cannot derive it: "manually" implement PartialOrd when we cannot derive it #883 -
Derive
Ordwhen possible: Derive Ord when possible #884- "manually" implement
Ordwhen we cannot derive it: "manually" implement Ord when we cannot derive it #885
- "manually" implement
-