Expand description
Tools for lazily evaluating templates that produce text in a fallible manner.
Structs§
- Coalesce
Template - Renders contents in order, and returns the first non-empty output.
- Concat
Template - Conditional
Template - Template which selects an output based on a boolean condition.
- Formattable
Property Template - Adapter to extract template value from property for displaying.
- Join
Template - Like
ConcatTemplate, but inserts a separator between contents. - Label
Template - List
Property Template - Renders template property of list type with the given separator.
- Literal
- Adapter that wraps literal value in
TemplateProperty. - Plain
Text Formatted Property - Adapter to turn template back to string property.
- Property
Placeholder - Property which will be compiled into template once, and substituted later.
- RawEscape
Sequence Template - Reformat
Template - Renders the content to buffer, and transforms it without losing labels.
- Separate
Template - Like
JoinTemplate, but ignores empty contents. - Template
Formatter - Wrapper to pass around
Formatterand error handler. - Template
Function - Adapter to apply fallible
functionto theproperty. - Template
Property Error - Wrapper around an error occurred during template evaluation.
- Template
Renderer - Adapter that renders compiled
templatewith theplaceholdervalue set.
Traits§
- List
Template - Template that supports list-like behavior.
- Template
- Represents a printable type or a compiled template containing a placeholder value.
- Template
Property - Lazily evaluated value which can fail to evaluate.
- Template
Property Ext TemplatePropertyadapters that are useful when implementing methods.- Wrap
Template Property - Wraps template property of type
Oin tagged type.