pub struct FixedDecimalFormat { /* private fields */ }
Expand description

A formatter for FixedDecimal, rendering decimal digits in an i18n-friendly way.

FixedDecimalFormat supports:

  1. Rendering in the local numbering system
  2. Locale-sensitive grouping separator positions
  3. Locale-sensitive plus and minus signs

Read more about the options in the options module.

See the crate-level documentation for examples.

Implementations

Creates a new FixedDecimalFormat from locale data and an options bag.

Formats a FixedDecimal, returning a FormattedFixedDecimal.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.