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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".