derive_builder_core 0.20.2

Internal helper library for the derive_builder crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This module is organizes chunks of documentation templates
//! for the generated code.
//!
//! Documentation templates may contain the following placeholders
//! - {struct_name}
//! - {builder_name}
//! - {field_name}
//!
//! Templates are used like this:
//!
//! ```rust,ignore
//! let builder_struct_doc = format!(
//!     include_str!("doc_tpl/builder_struct.md"),
//!     struct_name = /*..*/,
//!     builder_name = /*..*/),
//!     field_name = /*..*/);
//! ```