colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.35k stars 89 forks source link

Document `custom_constructor` and `create_empty` flags #304

Open Jasha10 opened 10 months ago

Jasha10 commented 10 months ago

PR #228 implemented flag #[builder(custom_constructor)] and #[builder(create_empty)]. My understanding is that this flag causes derive(Builder) to opt out of implementing Default. I'm not clear on what create_empty is for.

It would be nice to have some reference documentation for these flags in the readme and/or in the docs. The flags do appear in the examples folder.