[−][src]Crate derive_builder_core
Internal helper library for the derive_builder crate.
Important Note:
- You are probably looking for the
derive_buildercrate, which wraps this crate and is much more ergonomic to use. - The API of this crate might change frequently in the near future.
The
derive_buildercrate also provides a much more stable API.
Purpose
This is an internal helper library of derive_builder. Its purpose is to
allow derive_builder to use its own code generation technique, if
needed.
derive_builder_core might also be used in crates that
derive_builder depends on - again to break a dependency cycle.
If derive_builder does not itself depend on your crate, then you
should consider using derive_builder instead of derive_builder_core.
Structs
| Bindings | Bindings to be used by the generated code. |
| Block | A permissive wrapper for expressions/blocks, implementing |
| BuildMethod | Initializer for the struct fields in the build method, implementing
|
| Builder | Builder, implementing |
| BuilderField | Field for the builder struct, implementing |
| DeprecationNotes | Deprecation notes we want to emit to the user, implementing
|
| Initializer | Initializer for the target struct fields, implementing |
| Setter | Setter for the struct fields in the build method, implementing
|
Enums
| BuilderPattern | Controls the signature of a setter method,
more specifically how |
Functions
| doc_comment_from | Doc-comment, implementing |