// generated by diplomat-tool import type { DataError } from "./DataError" import type { DataProvider } from "./DataProvider" import type { GraphemeClusterBreakIteratorUtf16 } from "./GraphemeClusterBreakIteratorUtf16" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *AnICU4Xgrapheme-cluster-breaksegmenter,capableoffindinggraphemeclusterbreakpoints *instrings. * *Seethe[Rustdocumentationfor`GraphemeClusterSegmenter`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.GraphemeClusterSegmenter.html) for more information.
*/
export class GraphemeClusterSegmenter { /** @internal */
get ffiValue(): pointer;
/** *Constructan{@linkGraphemeClusterSegmenter}. * *Seethe[Rustdocumentationfor`new`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.GraphemeClusterSegmenter.html#method.new) for more information.
*/ static createWithProvider(provider: DataProvider): GraphemeClusterSegmenter;
/** *Segmentsastring. * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`segment_utf16`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.GraphemeClusterSegmenterBorrowed.html#method.segment_utf16) for more information.
*/
segment(input: string): GraphemeClusterBreakIteratorUtf16;
/** *Constructan{@linkGraphemeClusterSegmenter}usingcompileddata. * *Seethe[Rustdocumentationfor`new`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.GraphemeClusterSegmenter.html#method.new) for more information.
*/
constructor();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.