ICU4X
International Components for Unicode
|
#include <Collator.d.hpp>
Public Member Functions | |
int8_t | compare (std::string_view left, std::string_view right) const |
int8_t | compare16 (std::u16string_view left, std::u16string_view right) const |
icu4x::CollatorResolvedOptionsV1 | resolved_options_v1 () const |
Static Public Member Functions | |
static diplomat::result< std::unique_ptr< icu4x::Collator >, icu4x::DataError > | create_v1 (const icu4x::Locale &locale, icu4x::CollatorOptionsV1 options) |
static diplomat::result< std::unique_ptr< icu4x::Collator >, icu4x::DataError > | create_v1_with_provider (const icu4x::DataProvider &provider, const icu4x::Locale &locale, icu4x::CollatorOptionsV1 options) |
static void | operator delete (void *ptr) |
See the Rust documentation for Collator
for more information.
|
inline |
Compare two strings.
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for compare_utf8
for more information.
|
inline |
Compare two strings.
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for compare_utf16
for more information.
|
inlinestatic |
Construct a new Collator instance using compiled data.
See the Rust documentation for try_new
for more information.
|
inlinestatic |
Construct a new Collator instance using a particular data source.
See the Rust documentation for try_new
for more information.
|
inlinestatic |
|
inline |
The resolved options showing how the default options, the requested options, and the options from locale data were combined. None of the struct fields will have Auto
as the value.
See the Rust documentation for resolved_options
for more information.