pub struct PluralVariable {
pub format_specifier: String,
pub forms: BTreeMap<String, String>,
}Expand description
A plural variable within a stringsdict entry.
Fields§
§format_specifier: StringThe format specifier from NSStringFormatValueTypeKey, e.g. “d”, “lld”, “f”, “@”.
forms: BTreeMap<String, String>CLDR plural forms: “zero”, “one”, “two”, “few”, “many”, “other”.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluralVariable
impl RefUnwindSafe for PluralVariable
impl Send for PluralVariable
impl Sync for PluralVariable
impl Unpin for PluralVariable
impl UnsafeUnpin for PluralVariable
impl UnwindSafe for PluralVariable
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