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

The locale definition.

Implementations

The locale implementation.

Create a new locale element.

Arguments
  • locale_str_param - ISO language code (ISO 639)_ISO country code (ISO 3166).
  • currency_code_param - ISO currency code (ISO 4217).
  • decimal_digits_param - Currency decimal digits.
  • format_in_param - Format in.
  • format_out_param - Format out.
  • resources_param - Resources hash map.
Return
  • See description.

Get the locale string.

Return
  • See description.

Get the currency code.

Return
  • See description.

Get the currency decimal digits.

Return
  • See description.

Get the format in.

Return
  • See description.

Get the format out.

Return
  • See description.

Get the resources.

Return
  • See description.

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.