- cross-posted to:
- rust@lemmy.ml
- cross-posted to:
- rust@lemmy.ml
Inspired by Contex-Generic Programming, I made this macro, that allows you to write those generic implementations easily. This is kinda CGP, but simple and with better errors.
Ever repeat yourself implementing traits? Or wanted to easily swap out parts of your code, with (almost) no need to refactor? That is what this is for.
You must log in or register to comment.
For a deeper showcase (the complete cgp example adapted): https://github.com/Aras14HD/abstract_impl_showcase