POD
The pod crate supports auto-generating the most basic operations on pod-like structs.
It alleviates the burden of having to write bureaucratic funcs and patterns.
It currently supports the following:
- Generating a builder pattern via the
Builderderive macro - Generating field setters via the
Settersderive macro - Generating field getters via the
Gettersderive macro - Generating field setters AND getters via the
Fieldsderive macro - Generating
newconstructor via theCtorderive macro
Crates structure
3 crates are available:
- internal - this provides the traits used by the derive macros
- derive - the derive macros
- public - the reexported traits and derive macros
Examples
Authors
- Morgan Welsch