pub struct CompileCatalogOptions<'a> {
pub key_strategy: CompiledKeyStrategy,
pub source_fallback: bool,
pub source_locale: Option<&'a str>,
pub semantics: CatalogSemantics,
}Expand description
Options controlling runtime catalog compilation.
Fields§
§key_strategy: CompiledKeyStrategyBuilt-in strategy used to derive stable runtime keys.
source_fallback: boolWhether empty source-locale values should be filled from the source text.
source_locale: Option<&'a str>Source locale used when source_fallback is enabled.
semantics: CatalogSemanticsHigh-level semantics used by the input catalog set.
Trait Implementations§
Source§impl<'a> Clone for CompileCatalogOptions<'a>
impl<'a> Clone for CompileCatalogOptions<'a>
Source§fn clone(&self) -> CompileCatalogOptions<'a>
fn clone(&self) -> CompileCatalogOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CompileCatalogOptions<'a>
impl<'a> Debug for CompileCatalogOptions<'a>
Source§impl Default for CompileCatalogOptions<'_>
impl Default for CompileCatalogOptions<'_>
Source§fn default() -> CompileCatalogOptions<'_>
fn default() -> CompileCatalogOptions<'_>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for CompileCatalogOptions<'a>
impl<'a> PartialEq for CompileCatalogOptions<'a>
impl<'a> Eq for CompileCatalogOptions<'a>
impl<'a> StructuralPartialEq for CompileCatalogOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for CompileCatalogOptions<'a>
impl<'a> RefUnwindSafe for CompileCatalogOptions<'a>
impl<'a> Send for CompileCatalogOptions<'a>
impl<'a> Sync for CompileCatalogOptions<'a>
impl<'a> Unpin for CompileCatalogOptions<'a>
impl<'a> UnsafeUnpin for CompileCatalogOptions<'a>
impl<'a> UnwindSafe for CompileCatalogOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more