Enum fv_template::rt::Part
source · pub enum Part<'a> {
Text(&'a str),
Hole(&'a str),
}Expand description
A fragment of a template.
A set of Parts can be concatenated to form a user-facing representation
of a template.
Variants§
Text(&'a str)
A plain text fragment.
Hole(&'a str)
A hole in the template with a corresponding label to fill.