#include <ICU4XCollator.hpp>
◆ ICU4XCollator() [1/3]
ICU4XCollator::ICU4XCollator |
( |
capi::ICU4XCollator * | i | ) |
|
|
inlineexplicit |
◆ ICU4XCollator() [2/3]
ICU4XCollator::ICU4XCollator |
( |
| ) |
|
|
default |
◆ ICU4XCollator() [3/3]
◆ compare()
ICU4XOrdering ICU4XCollator::compare |
( |
const std::string_view | left, |
|
|
const std::string_view | right ) const |
|
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.
◆ compare_utf16()
ICU4XOrdering ICU4XCollator::compare_utf16 |
( |
const std::u16string_view | left, |
|
|
const std::u16string_view | right ) const |
|
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.
◆ compare_valid_utf8()
ICU4XOrdering ICU4XCollator::compare_valid_utf8 |
( |
const std::string_view | left, |
|
|
const std::string_view | right ) const |
|
inline |
Compare two strings.
See the Rust documentation for compare
for more information.
Warning: Passing ill-formed UTF-8 is undefined behavior (and may be memory-unsafe).
◆ create_v1()
◆ operator=()
◆ resolved_options()
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.
The documentation for this class was generated from the following file: