addCaseClosureTo method
- Rune c,
- CodePointSetBuilder builder
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.
Implementation
void addCaseClosureTo(Rune c, CodePointSetBuilder builder) {
_icu4x_CaseMapper_add_case_closure_to_mv1(_ffi, c, builder._ffi);
}