deriving_via
This library is a slightly more convenient version of derive_more.
Example
In this example, the Inner does not derive the Eq or Display,
but Outer derives them through the i32.
use DerivingVia;
;
;
Available Derives
- Display
- Into
- From
- Eq
- Ord
- FromStr
- Hash
- Serialize
- Deserialize