Module steel_cent::formatting
[−]
[src]
Support for formatting of monetary values.
A style of formatting is described by a FormatSpec
, which will wrap a Money
or SmallMoney
in a Display
-implementing struct for use in format!
, println!
, etc.
Structs
FormatSpec |
A specification of a currency format. |
MoneyDisplay |
A |
STYLE_FRANCE | |
STYLE_GENERIC |
A generic readable style with no short symbol mappings.
Example: |
STYLE_UK | |
STYLE_US |
Enums
FormatPart |
Elements that can appear in a |
Traits
FormattableMoney |
Functions
format |