pub struct MessageCatalog { /* private fields */ }Expand description
Messages for one locale.
Implementations§
Source§impl MessageCatalog
impl MessageCatalog
Sourcepub fn insert_plural(&mut self, key: &str, forms: &[(PluralCategory, &str)])
pub fn insert_plural(&mut self, key: &str, forms: &[(PluralCategory, &str)])
Inserts a plural message; forms are tried in the given order.
Trait Implementations§
Source§impl Clone for MessageCatalog
impl Clone for MessageCatalog
Source§impl Debug for MessageCatalog
impl Debug for MessageCatalog
Auto Trait Implementations§
impl Forget for MessageCatalog
impl Freeze for MessageCatalog
impl Move for MessageCatalog
impl RefUnwindSafe for MessageCatalog
impl Send for MessageCatalog
impl Sync for MessageCatalog
impl Unpin for MessageCatalog
impl UnsafeUnpin for MessageCatalog
impl UnwindSafe for MessageCatalog
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