Trait pw_format::macros::FormatStringParser
source · 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§
sourcefn parse_format_string(format_string: &str) -> Result<FormatString, String>
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.