[−][src]Trait num_format::Format
Trait that abstracts over CustomFormat
, Locale
, and SystemLocale
.
Required methods
fn decimal(&self) -> DecimalStr
Returns the string representation of a decimal point.
fn grouping(&self) -> Grouping
fn infinity(&self) -> InfinityStr
Returns the string representation of an infinity symbol.
fn minus_sign(&self) -> MinusSignStr
Returns the string representation of a minus sign.
fn nan(&self) -> NanStr
Returns the string representation of NaN.
fn plus_sign(&self) -> PlusSignStr
Returns the string representation of a plus sign.
fn separator(&self) -> SeparatorStr
Returns the string representation of a thousands separator.