Expand description
Adds derive macros for better bounds on generated Copy, Debug, etc. implementations.
See https://smallcultfollowing.com/babysteps//blog/2022/04/12/implied-bounds-and-perfect-derive/ for a summary of the issue.
Attribute Macros§
- perfect_
derive - In most trivial cases, acts exactly like a typical
#[derive(...)]macro, however the bounds generated by this macro are “perfect”, in that they only require the minimum requirement to function.