[−][src]Module fluent_templates::loader
This modules contains both the static_loader
and ArcLoader
implementations, as well as the Loader
trait. Which provides a loader
agnostic interface.
Macros
langid | |
langids |
Structs
ArcLoader | A loader that uses |
ArcLoaderBuilder | A builder pattern struct for constructing |
LanguageIdentifier |
|
StaticLoader | A simple Loader implementation, with statically-loaded fluent data.
Typically created with the [ |
Traits
Loader | A loader capable of looking up Fluent keys given a language. |
Functions
build_bundles | Maps from map of languages containing a list of resources to a map of
languages containing a |
build_fallbacks | Constructs a map of languages with a list of potential fallback languages. |
build_resources | Builds a map of languages and their available resources based on |
create_bundle | Creates a new static |
load_core_resource | Attempts to load a core resource and panicks if not found. |