|
ICU4X
International Components for Unicode
|
#include <TitlecaseMapper.d.hpp>
Public Member Functions | |
| diplomat::result< std::string, diplomat::Utf8Error > | titlecase_segment_v1 (std::string_view s, const icu4x::Locale &locale, icu4x::TitlecaseOptionsV1 options) const |
Static Public Member Functions | |
| static diplomat::result< std::unique_ptr< icu4x::TitlecaseMapper >, icu4x::DataError > | create () |
| static diplomat::result< std::unique_ptr< icu4x::TitlecaseMapper >, icu4x::DataError > | create_with_provider (const icu4x::DataProvider &provider) |
| static diplomat::result< std::string, diplomat::Utf8Error > | titlecase_segment_with_compiled_data_v1 (std::string_view s, const icu4x::Locale &locale, icu4x::TitlecaseOptionsV1 options) |
| static void | operator delete (void *ptr) |
See the Rust documentation for TitlecaseMapper for more information.
|
inlinestatic |
Construct a new TitlecaseMapper instance using compiled data.
See the Rust documentation for new for more information.
|
inlinestatic |
Construct a new TitlecaseMapper instance using a particular data source.
See the Rust documentation for new for more information.
|
inlinestatic |
|
inline |
Returns the full titlecase mapping of the given string
The v1 refers to the version of the options struct, which may change as we add more options
See the Rust documentation for titlecase_segment for more information.
|
inlinestatic |
Returns the full titlecase mapping of the given string, using compiled data (avoids having to allocate a TitlecaseMapper object)
The v1 refers to the version of the options struct, which may change as we add more options
See the Rust documentation for titlecase_segment for more information.