tramhao / termusic

Music Player TUI written in Rust
GNU General Public License v3.0
1.05k stars 44 forks source link

Derive `Copy` (and some other missing derives) where reasonably possible #318

Closed hasezoey closed 4 months ago

hasezoey commented 4 months ago

This PR derives Copy´ (among some other derives if missing likeDebugandPartialEqandClone`) where it makes sense.

This makes the usage of those types easier and does not require having a reference to 1(to ~3) bytes.