Struct intl_pluralrules::operands::PluralOperands
source · [−]pub struct PluralOperands {
pub n: f64,
pub i: u64,
pub v: usize,
pub w: usize,
pub f: u64,
pub t: u64,
}
Expand description
A full plural operands representation of a number. See CLDR Plural Rules for complete operands description.
Fields
n: f64
Absolute value of input
i: u64
Integer value of input
v: usize
Number of visible fraction digits with trailing zeros
w: usize
Number of visible fraction digits without trailing zeros
f: u64
Visible fraction digits with trailing zeros
t: u64
Visible fraction digits without trailing zeros
Trait Implementations
sourceimpl Debug for PluralOperands
impl Debug for PluralOperands
sourceimpl From<u16> for PluralOperands
impl From<u16> for PluralOperands
sourceimpl From<u32> for PluralOperands
impl From<u32> for PluralOperands
sourceimpl From<u64> for PluralOperands
impl From<u64> for PluralOperands
sourceimpl From<u8> for PluralOperands
impl From<u8> for PluralOperands
sourceimpl From<usize> for PluralOperands
impl From<usize> for PluralOperands
sourceimpl PartialEq<PluralOperands> for PluralOperands
impl PartialEq<PluralOperands> for PluralOperands
sourcefn eq(&self, other: &PluralOperands) -> bool
fn eq(&self, other: &PluralOperands) -> bool
sourceimpl<'a> TryFrom<&'a str> for PluralOperands
impl<'a> TryFrom<&'a str> for PluralOperands
sourceimpl TryFrom<String> for PluralOperands
impl TryFrom<String> for PluralOperands
sourceimpl TryFrom<f32> for PluralOperands
impl TryFrom<f32> for PluralOperands
sourceimpl TryFrom<f64> for PluralOperands
impl TryFrom<f64> for PluralOperands
sourceimpl TryFrom<i16> for PluralOperands
impl TryFrom<i16> for PluralOperands
sourceimpl TryFrom<i32> for PluralOperands
impl TryFrom<i32> for PluralOperands
sourceimpl TryFrom<i64> for PluralOperands
impl TryFrom<i64> for PluralOperands
sourceimpl TryFrom<i8> for PluralOperands
impl TryFrom<i8> for PluralOperands
sourceimpl TryFrom<isize> for PluralOperands
impl TryFrom<isize> for PluralOperands
impl StructuralPartialEq for PluralOperands
Auto Trait Implementations
impl RefUnwindSafe for PluralOperands
impl Send for PluralOperands
impl Sync for PluralOperands
impl Unpin for PluralOperands
impl UnwindSafe for PluralOperands
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more