[][src]Struct intl_pluralrules::operands::PluralOperands

pub struct PluralOperands {
    pub n: f64,
    pub i: usize,
    pub v: usize,
    pub w: usize,
    pub f: usize,
    pub t: usize,
}

A full plural operands representation of a number. See CLDR Plural Rules for complete operands description.

Fields

n: f64

Absolute value of input

i: usize

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: usize

Visible fraction digits with trailing zeros

t: usize

Visible fraction digits without trailing zeros

Trait Implementations

impl Debug for PluralOperands[src]

impl From<u16> for PluralOperands[src]

impl From<u32> for PluralOperands[src]

impl From<u64> for PluralOperands[src]

impl From<u8> for PluralOperands[src]

impl From<usize> for PluralOperands[src]

impl PartialEq<PluralOperands> for PluralOperands[src]

impl StructuralPartialEq for PluralOperands[src]

impl<'a> TryFrom<&'a str> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<String> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<f32> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<f64> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<i16> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<i32> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<i64> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<i8> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryFrom<isize> for PluralOperands[src]

type Error = &'static str

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.