this post was submitted on 28 Jan 2025
6 points (100.0% liked)

Rust Programming

8391 readers
1 users here now

founded 5 years ago
MODERATORS
 

cross-posted from: https://feddit.org/post/7326044

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here