pub enum PluralCategory {
Zero,
One,
Two,
Few,
Many,
Other,
}Expand description
Standard CLDR plural forms.
Variants§
Trait Implementations§
Source§impl Clone for PluralCategory
impl Clone for PluralCategory
Source§fn clone(&self) -> PluralCategory
fn clone(&self) -> PluralCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluralCategory
impl Debug for PluralCategory
Source§impl<'de> Deserialize<'de> for PluralCategory
impl<'de> Deserialize<'de> for PluralCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for PluralCategory
impl FromStr for PluralCategory
Source§impl Hash for PluralCategory
impl Hash for PluralCategory
Source§impl Ord for PluralCategory
impl Ord for PluralCategory
Source§fn cmp(&self, other: &PluralCategory) -> Ordering
fn cmp(&self, other: &PluralCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PluralCategory
impl PartialEq for PluralCategory
Source§impl PartialOrd for PluralCategory
impl PartialOrd for PluralCategory
Source§impl Serialize for PluralCategory
impl Serialize for PluralCategory
impl Eq for PluralCategory
impl StructuralPartialEq for PluralCategory
Auto Trait Implementations§
impl Freeze for PluralCategory
impl RefUnwindSafe for PluralCategory
impl Send for PluralCategory
impl Sync for PluralCategory
impl Unpin for PluralCategory
impl UnwindSafe for PluralCategory
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