Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a few simple derives to dmi-related structs (#320)
Specifically, add `#[derive(Clone, PartialEq)]` to `dmi::{Metadata, State, Frames}` As per (very weakly authoritative) <https://rust-lang.github.io/api-guidelines/interoperability.html> one should derive all the std's traits whenever feasible. Currently for my own project I only need `State::Clone`. The `PartialEq` is being added for consistency with it being present on other structs already, and the rest of the `std`'s traits feel a bit like an overkill presently (despite what the guidelines might say)
- Loading branch information