GraphemeClusterBreakIteratorUtf8.d.ts (728B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * See the [Rust documentation for `GraphemeClusterBreakIterator`](https://docs.rs/icu/latest/icu/segmenter/iterators/struct.GraphemeClusterBreakIterator.html) for more information. 7 */ 8 9 10 export class GraphemeClusterBreakIteratorUtf8 { 11 get ffiValue(): pointer; 12 13 14 /** 15 * Finds the next breakpoint. Returns -1 if at the end of the string or if the index is 16 * out of range of a 32-bit signed integer. 17 * 18 * See the [Rust documentation for `next`](https://docs.rs/icu/latest/icu/segmenter/iterators/struct.GraphemeClusterBreakIterator.html#method.next) for more information. 19 */ 20 next(): number; 21 }