pub trait BundleCollection: Sync + Send {
// Required method
fn get_bundle(
&self,
lang: &str,
) -> Option<&ConcurrentFluentBundle<FluentResource>>;
}Expand description
A collection capable of retrieving a ConcurrentFluentBundle by language key.
Required Methods§
Sourcefn get_bundle(
&self,
lang: &str,
) -> Option<&ConcurrentFluentBundle<FluentResource>>
fn get_bundle( &self, lang: &str, ) -> Option<&ConcurrentFluentBundle<FluentResource>>
Retrieves the bundle for the specified language.