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 ICU4XCodePointSetBuilder does not contain strings, this will ignore string mappings.
Identical to the similarly named method on ICU4XCaseMapCloser
, use that if you plan on using string case closure mappings too.
See the Rust documentation for add_case_closure_to
for more information.
Case-folds the characters in the given string
See the Rust documentation for fold
for more information.
Case-folds the characters in the given string using Turkic (T) mappings for dotted/dotless I.
See the Rust documentation for fold_turkic
for more information.
Returns the full lowercase mapping of the given string
See the Rust documentation for lowercase
for more information.
Returns the simple casefolding of the given character.
This function only implements simple folding. For full folding, use ICU4XCaseMapper::fold
.
See the Rust documentation for simple_fold
for more information.
Returns the simple casefolding of the given character in the Turkic locale
This function only implements simple folding. For full folding, use ICU4XCaseMapper::fold_turkic
.
See the Rust documentation for simple_fold_turkic
for more information.
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 ICU4XCaseMapper::lowercase
.
See the Rust documentation for simple_lowercase
for more information.
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 ICU4XCaseMapper::titlecase_segment
.
See the Rust documentation for simple_titlecase
for more information.
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 ICU4XCaseMapper::uppercase
.
See the Rust documentation for simple_uppercase
for more information.
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.
Returns the full uppercase mapping of the given string
See the Rust documentation for uppercase
for more information.
Static
createConstruct a new ICU4XCaseMapper instance
See the Rust documentation for new
for more information.
See the Rust documentation for
CaseMapper
for more information.