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

The locale format definition.

Implementations

The locale format implementation.

Create a new locale format element.

Arguments
  • date_regex_param - Date regular expression.
  • date_replace_param - Date replace expression.
  • integer_regex_param - Integer regular expression.
  • integer_replace_param - Integer replace expression.
  • decimal_regex_param - Decimal regular expression.
  • decimal_replace_param - Decimal replace expression.
  • currency_regex_param - Currency regular expression.
  • currency_replace_param - Currency replace expression.
Return
  • See description.

Copy and return a new locale format element.

Return
  • See description.

Get the date regex.

Return
  • See description.

Get the date replace.

Return
  • See description.

Get the integer regex.

Return
  • See description.

Get the integer replace.

Return
  • See description.

Get the decimal regex.

Return
  • See description.

Get the decimal replace.

Return
  • See description.

Get the currency regex.

Return
  • See description.

Get the currency replace.

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.