Struct i18n_embed::LanguageResource[][src]

pub struct LanguageResource<'a> {
    pub language: LanguageIdentifier,
    pub file: Cow<'a, [u8]>,
}
Expand description

A language resource file, and its associated language.

Fields

language: LanguageIdentifier

The language which this resource is associated with.

file: Cow<'a, [u8]>

The data for the file containing the localizations.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.