briandorsey / wavrw

wavrw is a command line tool to read and write WAV files with a focus on visualizing the structure of files and parsing metadata.
Apache License 2.0
2 stars 1 forks source link

decide on consistent set of triaits and use for all chunks #69

Closed briandorsey closed 5 months ago

briandorsey commented 5 months ago

research: Is there a way to assert this at build time with a lint of some kind?

briandorsey commented 5 months ago

Decided not to implement Default across all Data chunks... doesn't make sense for many of them, since they need some specific values to be valid.

briandorsey commented 5 months ago

Using https://rust-lang.github.io/api-guidelines/interoperability.html#c-common-traits as a reference for traits to consider.

briandorsey commented 5 months ago

Reviewed, considering this a good start.