Skip to main content

LocaleTypes

Trait LocaleTypes 

Source
pub trait LocaleTypes {
    type Expression;
}
Expand description

Defines types associated with Locale.

This trait is automatically implemented when Locale is initialized. It is used to determine the type of localized expressions.

Required Associated Types§

Source

type Expression

Represents a localized expression.

The concrete type is [&'static str; Locale::COUNT].

Implementors§