pub enum EffectiveTranslation {
Singular(String),
Plural(BTreeMap<String, String>),
}Expand description
Owned translation value materialized from a parsed catalog.
Variants§
Singular(String)
Singular translation value.
Plural(BTreeMap<String, String>)
Plural translation values keyed by category.
Trait Implementations§
Source§impl Clone for EffectiveTranslation
impl Clone for EffectiveTranslation
Source§fn clone(&self) -> EffectiveTranslation
fn clone(&self) -> EffectiveTranslation
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 EffectiveTranslation
impl Debug for EffectiveTranslation
Source§impl PartialEq for EffectiveTranslation
impl PartialEq for EffectiveTranslation
impl Eq for EffectiveTranslation
impl StructuralPartialEq for EffectiveTranslation
Auto Trait Implementations§
impl Freeze for EffectiveTranslation
impl RefUnwindSafe for EffectiveTranslation
impl Send for EffectiveTranslation
impl Sync for EffectiveTranslation
impl Unpin for EffectiveTranslation
impl UnsafeUnpin for EffectiveTranslation
impl UnwindSafe for EffectiveTranslation
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