|
ICU4X
International Components for Unicode
|
#include <ICU4XPluralRules.hpp>
Public Member Functions | |
| ICU4XPluralCategory | category_for (const ICU4XPluralOperands &op) const |
| ICU4XPluralCategories | categories () const |
| ICU4XPluralRules (capi::ICU4XPluralRules *i) | |
| ICU4XPluralRules ()=default | |
| ICU4XPluralRules (ICU4XPluralRules &&) noexcept=default | |
| ICU4XPluralRules & | operator= (ICU4XPluralRules &&other) noexcept=default |
Static Public Member Functions | |
| static diplomat::result< ICU4XPluralRules, ICU4XError > | create_cardinal (const ICU4XDataProvider &provider, const ICU4XLocale &locale) |
| static diplomat::result< ICU4XPluralRules, ICU4XError > | create_ordinal (const ICU4XDataProvider &provider, const ICU4XLocale &locale) |
See the Rust documentation for PluralRules for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inline |
Get all of the categories needed in the current locale
See the Rust documentation for categories for more information.
|
inline |
Get the category for a given number represented as operands
See the Rust documentation for category_for for more information.
|
inlinestatic |
Construct an [ICU4XPluralRules] for the given locale, for cardinal numbers
See the Rust documentation for try_new_cardinal for more information.
|
inlinestatic |
Construct an [ICU4XPluralRules] for the given locale, for ordinal numbers
See the Rust documentation for try_new_ordinal for more information.
|
defaultnoexcept |