pub trait FormatStringParser {
    // Required method
    fn parse_format_string(format_string: &str) -> Result<FormatString, String>;
}
Expand description

A trait for parsing a string into a FormatString.

Required Methods§

source

fn parse_format_string(format_string: &str) -> Result<FormatString, String>

Parse format_string and return the results as a [FormatString].

Object Safety§

This trait is not object safe.

Implementors§