Struct message_format::ast::PluralFormat [] [src]

pub struct PluralFormat { /* fields omitted */ }

Format a value taking pluralization rules into account.

Methods

impl PluralFormat
[src]

Construct a PluralFormat.

Set the message to be used for a literal value.

Apply an offset.

Set the message for PluralCategory::Zero.

Set the message for PluralCategory::One.

Set the message for PluralCategory::Two.

Set the message for PluralCategory::Few.

Set the message for PluralCategory::Many.

Trait Implementations

impl Format for PluralFormat
[src]

Format this message part.