bundles.rs |
|
14117 |
cache.rs |
|
6100 |
env.rs |
Traits required to provide environment driven data for [`Localization`](crate::Localization).
Since [`Localization`](crate::Localization) is a long-lived structure,
the model in which the user provides ability for the system to react to changes
is by implementing the given environmental trait and triggering
[`Localization::on_change`](crate::Localization::on_change) method.
At the moment just a single trait is provided, which allows the
environment to feed a selection of locales to be provided to the instance.
The locales provided to [`Localization`](crate::Localization) should be
already negotiated to ensure that the resources in those locales
are available. The list should also be sorted according to the user
preference, as the order is significant for how [`Localization`](crate::Localization) performs
fallbacking. |
2812 |
errors.rs |
|
2168 |
generator.rs |
|
1082 |
lib.rs |
|
5479 |
localization.rs |
|
3242 |
pin_cell |
|
|
types.rs |
|
4159 |