Creating your own custom derive macro

Open link in next tab

Creating your own custom derive macro

https://cetra3.github.io/blog/creating-your-own-derive-macro/

Harnessing the power of `syn` and `quote` to create custom rust macros