Segments a string.
Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.
See the Rust documentation for segment_utf16 for more information.
StaticcreateConstruct an [GraphemeClusterSegmenter].
See the Rust documentation for new for more information.
An ICU4X grapheme-cluster-break segmenter, capable of finding grapheme cluster breakpoints in strings.
See the Rust documentation for
GraphemeClusterSegmenterfor more information.