nightprog / new_macro Goto Github PK
View Code? Open in Web Editor NEWThe Rust macro derives a new function with optional default attribute for simplified struct instantiation. It eliminates repetitive code and enhances readability.
License: MIT License