#include <CaseMapper.d.hpp>
|
| icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | lowercase (std::string_view s, const icu4x::Locale &locale) const |
| |
| template<typename W> |
| icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | lowercase_write (std::string_view s, const icu4x::Locale &locale, W &writeable_output) const |
| |
| icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | uppercase (std::string_view s, const icu4x::Locale &locale) const |
| |
| template<typename W> |
| icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | uppercase_write (std::string_view s, const icu4x::Locale &locale, W &writeable_output) const |
| |
| icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | titlecase_segment_with_only_case_data_v1 (std::string_view s, const icu4x::Locale &locale, icu4x::TitlecaseOptionsV1 options) const |
| |
| template<typename W> |
| icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | titlecase_segment_with_only_case_data_v1_write (std::string_view s, const icu4x::Locale &locale, icu4x::TitlecaseOptionsV1 options, W &writeable_output) const |
| |
| icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | fold (std::string_view s) const |
| |
| template<typename W> |
| icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | fold_write (std::string_view s, W &writeable_output) const |
| |
| icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | fold_turkic (std::string_view s) const |
| |
| template<typename W> |
| icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | fold_turkic_write (std::string_view s, W &writeable_output) const |
| |
| void | add_case_closure_to (char32_t c, icu4x::CodePointSetBuilder &builder) const |
| |
| char32_t | simple_lowercase (char32_t ch) const |
| |
| char32_t | simple_uppercase (char32_t ch) const |
| |
| char32_t | simple_titlecase (char32_t ch) const |
| |
| char32_t | simple_fold (char32_t ch) const |
| |
| char32_t | simple_fold_turkic (char32_t ch) const |
| |
|
| static std::unique_ptr< icu4x::CaseMapper > | create () |
| |
| static icu4x::diplomat::result< std::unique_ptr< icu4x::CaseMapper >, icu4x::DataError > | create_with_provider (const icu4x::DataProvider &provider) |
| |
| static icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | lowercase_with_compiled_data (std::string_view s, const icu4x::Locale &locale) |
| |
| template<typename W> |
| static icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | lowercase_with_compiled_data_write (std::string_view s, const icu4x::Locale &locale, W &writeable_output) |
| |
| static icu4x::diplomat::result< std::string, icu4x::diplomat::Utf8Error > | uppercase_with_compiled_data (std::string_view s, const icu4x::Locale &locale) |
| |
| template<typename W> |
| static icu4x::diplomat::result< std::monostate, icu4x::diplomat::Utf8Error > | uppercase_with_compiled_data_write (std::string_view s, const icu4x::Locale &locale, W &writeable_output) |
| |
| static char32_t | simple_lowercase_with_compiled_data (char32_t ch) |
| |
| static char32_t | simple_uppercase_with_compiled_data (char32_t ch) |
| |
| static char32_t | simple_titlecase_with_compiled_data (char32_t ch) |
| |
| static char32_t | simple_fold_with_compiled_data (char32_t ch) |
| |
| static char32_t | simple_fold_turkic_with_compiled_data (char32_t ch) |
| |
| static void | operator delete (void *ptr) |
| |
◆ add_case_closure_to()
Adds all simple case mappings and the full case folding for c to builder. Also adds special case closure mappings.
In other words, this adds all characters that this casemaps to, as well as all characters that may casemap to this one.
Note that since CodePointSetBuilder does not contain strings, this will ignore string mappings.
Identical to the similarly named method on CaseMapCloser, use that if you plan on using string case closure mappings too.
See the Rust documentation for add_case_closure_to for more information.
◆ create()
◆ create_with_provider()
◆ fold()
◆ fold_turkic()
◆ fold_turkic_write()
◆ fold_write()
◆ lowercase()
◆ lowercase_with_compiled_data()
◆ lowercase_with_compiled_data_write()
◆ lowercase_write()
◆ operator delete()
| void icu4x::CaseMapper::operator delete |
( |
void * | ptr | ) |
|
|
inlinestatic |
◆ simple_fold()
| char32_t icu4x::CaseMapper::simple_fold |
( |
char32_t | ch | ) |
const |
|
inline |
Returns the simple casefolding of the given character.
This function only implements simple folding. For full folding, use CaseMapperBorrowed::fold.
See the Rust documentation for simple_fold for more information.
◆ simple_fold_turkic()
| char32_t icu4x::CaseMapper::simple_fold_turkic |
( |
char32_t | ch | ) |
const |
|
inline |
Returns the simple casefolding of the given character in the Turkic locale.
This function only implements simple folding. For full folding, use CaseMapperBorrowed::fold_turkic.
See the Rust documentation for simple_fold_turkic for more information.
◆ simple_fold_turkic_with_compiled_data()
| char32_t icu4x::CaseMapper::simple_fold_turkic_with_compiled_data |
( |
char32_t | ch | ) |
|
|
inlinestatic |
◆ simple_fold_with_compiled_data()
| char32_t icu4x::CaseMapper::simple_fold_with_compiled_data |
( |
char32_t | ch | ) |
|
|
inlinestatic |
◆ simple_lowercase()
| char32_t icu4x::CaseMapper::simple_lowercase |
( |
char32_t | ch | ) |
const |
|
inline |
Returns the simple lowercase mapping of the given character.
This function only implements simple and common mappings. Full mappings, which can map one char to a string, are not included. For full mappings, use CaseMapperBorrowed::lowercase.
See the Rust documentation for simple_lowercase for more information.
◆ simple_lowercase_with_compiled_data()
| char32_t icu4x::CaseMapper::simple_lowercase_with_compiled_data |
( |
char32_t | ch | ) |
|
|
inlinestatic |
◆ simple_titlecase()
| char32_t icu4x::CaseMapper::simple_titlecase |
( |
char32_t | ch | ) |
const |
|
inline |
Returns the simple titlecase mapping of the given character.
This function only implements simple and common mappings. Full mappings, which can map one char to a string, are not included. For full mappings, use CaseMapperBorrowed::titlecase_segment.
See the Rust documentation for simple_titlecase for more information.
◆ simple_titlecase_with_compiled_data()
| char32_t icu4x::CaseMapper::simple_titlecase_with_compiled_data |
( |
char32_t | ch | ) |
|
|
inlinestatic |
◆ simple_uppercase()
| char32_t icu4x::CaseMapper::simple_uppercase |
( |
char32_t | ch | ) |
const |
|
inline |
Returns the simple uppercase mapping of the given character.
This function only implements simple and common mappings. Full mappings, which can map one char to a string, are not included. For full mappings, use CaseMapperBorrowed::uppercase.
See the Rust documentation for simple_uppercase for more information.
◆ simple_uppercase_with_compiled_data()
| char32_t icu4x::CaseMapper::simple_uppercase_with_compiled_data |
( |
char32_t | ch | ) |
|
|
inlinestatic |
◆ titlecase_segment_with_only_case_data_v1()
Returns the full titlecase mapping of the given string, performing head adjustment without loading additional data. (if head adjustment is enabled in the options)
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_with_only_case_data for more information.
◆ titlecase_segment_with_only_case_data_v1_write()
◆ uppercase()
◆ uppercase_with_compiled_data()
◆ uppercase_with_compiled_data_write()
◆ uppercase_write()
The documentation for this class was generated from the following files: