Struct perseus::Locales [−][src]
Expand description
Defines app information about i18n, specifically about which locales are supported.
Fields
default: String
The default locale, which will be used as a fallback if the user’s locale can’t be extracted. This will be built for at build-time.
other: Vec<String>
All other supported locales, which will all be built at build time.
using_i18n: bool
Whether or not the user is actually using i18n. This is set here because most things that need locale data also need it.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Locales
impl UnwindSafe for Locales
Blanket Implementations
Mutably borrows from an owned value. Read more