builder_macro 0.3.0

A macro to generate structs and a corresponding builder
Documentation

Builder Macro

Crates.io Build Status Coverage Status

This crate contains a builder! macro to declare a struct and a corresponding builder.

The macro is inspired from jadpole/builder-macro, and is designed to remove duplication of field declaration, as well as generating appropriate setter methods.

Documentation

Documentation and usage examples can be found at azriel.im/builder_macro

License

The MIT License