retainChar method

void retainChar(
  1. Rune ch
)

Removes all elements from the set except a single character

See the Rust documentation for retain_char for more information.

Implementation

void retainChar(Rune ch) {
  _icu4x_CodePointSetBuilder_retain_char_mv1(_ffi, ch);
}