4 ms·
What? The way the derives work is they generate code by utilizing the fields and their types. Here is a trivial implementation (of a custom trait, rather than
by RGBCube 1y ago
What?
The way the derives work is they generate code by utilizing the fields and their types. Here is a trivial implementation (of a custom trait, rather than Clone. still holds though) which will prove you wrong:
<https://github.com/cull-os/carcass/blob/master/dup%2Fmacros%2Fmod.rs https://github.com/cull-os/carcass/blob/master/dup%2Fmacros%...>