Expand description
§SimpleInterpolation
A dead simple interpolation format.
for example: this is an {interpolated} string
Variable names may have -
, _
, 0-9
, a-z
, and A-Z
, any other characters will be raised as errors.
Structs§
- Interpolation
- The main entrypoint for this crate.
Created with
Interpolation::new
, this represents a template that can be supplied variables to render.
Enums§
- Parse
Error - Error returned in the parsing stage.
- Render
Error - Errors returned by the
Interpolation::try_render
function.