Expand description
Format string parsing and resolution.
Structs§
- Format
String - Format
String Options - Builder-style options for
FormatString::resolve_withandFormatString::resolve_string_with. - Format
String Validation Error - Structured error from
FormatString::validate_expressions.
Constants§
- MAX_
FORMAT_ STRING_ LEN - Maximum permitted input length (in bytes) for
FormatString::new. - MAX_
FORMAT_ STRING_ SEGMENTS - Maximum number of
{{...}}interpolation segments in a single format string.
Functions§
- copy_
symbol_ value - Walk a dotted symbol name into
source, find the deepest Value entry, and copy it intodestat the same path. - escape_
format_ string - Escape
{{and}}in a string so the format string parser treats them as literals.