ICU4X
International Components for Unicode
|
#include <PluralRules.d.hpp>
Public Member Functions | |
icu4x::PluralCategory | category_for (const icu4x::PluralOperands &op) const |
icu4x::PluralCategories | categories () const |
Static Public Member Functions | |
static diplomat::result< std::unique_ptr< icu4x::PluralRules >, icu4x::DataError > | create_cardinal (const icu4x::Locale &locale) |
static diplomat::result< std::unique_ptr< icu4x::PluralRules >, icu4x::DataError > | create_cardinal_with_provider (const icu4x::DataProvider &provider, const icu4x::Locale &locale) |
static diplomat::result< std::unique_ptr< icu4x::PluralRules >, icu4x::DataError > | create_ordinal (const icu4x::Locale &locale) |
static diplomat::result< std::unique_ptr< icu4x::PluralRules >, icu4x::DataError > | create_ordinal_with_provider (const icu4x::DataProvider &provider, const icu4x::Locale &locale) |
static void | operator delete (void *ptr) |
See the Rust documentation for PluralRules
for more information.
|
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 PluralRules
for the given locale, for cardinal numbers, using compiled data.
See the Rust documentation for try_new_cardinal
for more information.
|
inlinestatic |
Construct an PluralRules
for the given locale, for cardinal numbers, using a particular data source.
See the Rust documentation for try_new_cardinal
for more information.
|
inlinestatic |
Construct an PluralRules
for the given locale, for ordinal numbers, using compiled data.
See the Rust documentation for try_new_ordinal
for more information.
|
inlinestatic |
Construct an PluralRules
for the given locale, for ordinal numbers, using a particular data source.
See the Rust documentation for try_new_ordinal
for more information.
|
inlinestatic |