namespace icu4x { /** *Seethe[Rustdocumentationfor`Collator`](https://docs.rs/icu/2.1.1/icu/collator/struct.Collator.html) for more information.
*/ class Collator {
public:
/** *ConstructanewCollatorinstanceusingcompileddata. * *Seethe[Rustdocumentationfor`try_new`](https://docs.rs/icu/2.1.1/icu/collator/struct.Collator.html#method.try_new) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Collator>, icu4x::DataError> create_v1(const icu4x::Locale& locale, icu4x::CollatorOptionsV1 options);
/** *ConstructanewCollatorinstanceusingaparticulardatasource. * *Seethe[Rustdocumentationfor`try_new`](https://docs.rs/icu/2.1.1/icu/collator/struct.Collator.html#method.try_new) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::Collator>, icu4x::DataError> create_v1_with_provider(const icu4x::DataProvider& provider, const icu4x::Locale& locale, icu4x::CollatorOptionsV1 options);
/** *Comparetwostrings. * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`compare_utf8`](https://docs.rs/icu/2.1.1/icu/collator/struct.CollatorBorrowed.html#method.compare_utf8) for more information.
*/ inline int8_t compare(std::string_view left, std::string_view right) const;
/** *Comparetwostrings. * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`compare_utf16`](https://docs.rs/icu/2.1.1/icu/collator/struct.CollatorBorrowed.html#method.compare_utf16) for more information.
*/ inline int8_t compare16(std::u16string_view left, std::u16string_view right) const;
/** *Theresolvedoptionsshowinghowthedefaultoptions,therequestedoptions, *andtheoptionsfromlocaledatawerecombined.Noneofthestructfields *willhave`Auto`asthevalue. * *Seethe[Rustdocumentationfor`resolved_options`](https://docs.rs/icu/2.1.1/icu/collator/struct.CollatorBorrowed.html#method.resolved_options) for more information.
*/ inline icu4x::CollatorResolvedOptionsV1 resolved_options_v1() const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.