pub enum StringEntry {
Simple(String),
Plural(PluralForms),
}Expand description
A single string entry: either a simple string or plural forms.
Variants§
Simple(String)
A simple, non-pluralized string.
Plural(PluralForms)
Plural forms keyed by CLDR category.
Trait Implementations§
Source§impl Clone for StringEntry
impl Clone for StringEntry
Source§fn clone(&self) -> StringEntry
fn clone(&self) -> StringEntry
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 moreAuto Trait Implementations§
impl Freeze for StringEntry
impl RefUnwindSafe for StringEntry
impl Send for StringEntry
impl Sync for StringEntry
impl Unpin for StringEntry
impl UnsafeUnpin for StringEntry
impl UnwindSafe for StringEntry
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