Struct icu_decimal::FixedDecimalFormat[][src]

pub struct FixedDecimalFormat<'data> { /* fields omitted */ }
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

Clone this trait object reference, returning a boxed trait object.

Return this boxed trait object as Box<dyn Any>. Read more

Return this trait object reference as &dyn Any. Read more

Performs the conversion.

Performs the conversion.

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.