Trait runtime_format::ToFormatParser
source · pub trait ToFormatParser<'a> {
type Parser: Iterator<Item = ParseSegment<'a>>;
fn to_parser(&'a self) -> Self::Parser;
fn unparsed(iter: Self::Parser) -> &'a str;
}Expand description
Turn a value into parsed formatting segments on the fly.
Required Associated Types§
sourcetype Parser: Iterator<Item = ParseSegment<'a>>
type Parser: Iterator<Item = ParseSegment<'a>>
The Parser type that returns the ParseSegments