Function rt_format::parser::parse_specifier[][src]

pub fn parse_specifier<V, S>(
    spec_str: &str,
    value_src: &mut S
) -> Result<Specifier, ()> where
    V: FormatArgument + ConvertToSize,
    S: ArgumentSource<V>, 
Expand description

Parses only the format specifier portion of a format argument. For example, in a format argument specification “{foo:#X}”, this function would parse only the “#X” part.