Skip to main content

locales

Function locales 

Source
pub fn locales<L: Locale>() -> &'static [L]
Expand description

Every locale of L, its variants in declaration order, the default first.

assert_eq!(locales::<Lang>(), [Lang::En, Lang::Ja]);