[][src]Module num_format::format

Module containing format options (i.e. how you would like your number to look). Includes the Format trait and three concrete types that implement it: CustomFormat, Environment, and Locale.

Modules

utils

Utility types needed if you want to implement Format on your own type.

Structs

CustomFormat

Type for representing your own custom formats.

CustomFormatBuilder

Type for building CustomFormats.

Environment

Type for representing formats from the LC_ALL environment variable.

Enums

Grouping

Type for specifying how digits are grouped together (e.g. 1,000,000 vs. 10,00,000 vs. 1000000).

Locale

One of the most important types. Represents formats from the Unicode Consortium's Common Locale Data Repository (CLDR).

Traits

Format

Trait that abstracts over CustomFormat, Environment, and Locale.