pub enum MsgStr {
None,
Singular(String),
Plural(Vec<String>),
}Expand description
Message translation payload for a PO item.
Variants§
None
No translation values are present.
Singular(String)
Single translation string.
Plural(Vec<String>)
Plural translation strings indexed by plural slot.
Implementations§
Source§impl MsgStr
impl MsgStr
Trait Implementations§
Source§impl<'a> IntoIterator for &'a MsgStr
impl<'a> IntoIterator for &'a MsgStr
impl Eq for MsgStr
impl StructuralPartialEq for MsgStr
Auto Trait Implementations§
impl Freeze for MsgStr
impl RefUnwindSafe for MsgStr
impl Send for MsgStr
impl Sync for MsgStr
impl Unpin for MsgStr
impl UnsafeUnpin for MsgStr
impl UnwindSafe for MsgStr
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