pub enum CompiledTranslation {
Singular(String),
Plural(BTreeMap<String, String>),
}Expand description
Translation value stored in a compiled runtime catalog.
Variants§
Singular(String)
Singular runtime value.
Plural(BTreeMap<String, String>)
Structured plural runtime value.
Trait Implementations§
Source§impl Clone for CompiledTranslation
impl Clone for CompiledTranslation
Source§fn clone(&self) -> CompiledTranslation
fn clone(&self) -> CompiledTranslation
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 Debug for CompiledTranslation
impl Debug for CompiledTranslation
Source§impl PartialEq for CompiledTranslation
impl PartialEq for CompiledTranslation
impl Eq for CompiledTranslation
impl StructuralPartialEq for CompiledTranslation
Auto Trait Implementations§
impl Freeze for CompiledTranslation
impl RefUnwindSafe for CompiledTranslation
impl Send for CompiledTranslation
impl Sync for CompiledTranslation
impl Unpin for CompiledTranslation
impl UnsafeUnpin for CompiledTranslation
impl UnwindSafe for CompiledTranslation
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