singleSpec
fn
FormatSpec!Char singleSpec(Char)(Char[] fmt)Helper function that returns a FormatSpec for a single format specifier.
Parameters
fmt | a format string containing a single format specifier |
Char | character type of fmt |
Returns
A FormatSpec with the format specifier parsed.
Throws
A FormatException when the
format string contains no format specifier or more than a single format specifier or when the format specifier is malformed.