3 ms·
Yeah, derive macros in rust are very similar to lombok and other annotation processing code generators in Java. Any of the trait function implementations could
by grogers 5y ago
Yeah, derive macros in rust are very similar to lombok and other annotation processing code generators in Java. Any of the trait function implementations could be written manually, but it saves work and makes it more robust to use the derive macro (or Lombok).