Debian Codegraph @

src/doc_tpl/mod.rs

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