GraphemeClusterBreak.d.ts (2163B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * See the [Rust documentation for `GraphemeClusterBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeClusterBreak.html) for more information. 7 */ 8 9 10 export class GraphemeClusterBreak { 11 12 static fromValue(value: GraphemeClusterBreak | string): GraphemeClusterBreak; 13 14 get value(): string; 15 16 get ffiValue(): number; 17 18 static Other : GraphemeClusterBreak; 19 static Control : GraphemeClusterBreak; 20 static Cr : GraphemeClusterBreak; 21 static Extend : GraphemeClusterBreak; 22 static L : GraphemeClusterBreak; 23 static Lf : GraphemeClusterBreak; 24 static Lv : GraphemeClusterBreak; 25 static Lvt : GraphemeClusterBreak; 26 static T : GraphemeClusterBreak; 27 static V : GraphemeClusterBreak; 28 static SpacingMark : GraphemeClusterBreak; 29 static Prepend : GraphemeClusterBreak; 30 static RegionalIndicator : GraphemeClusterBreak; 31 static EBase : GraphemeClusterBreak; 32 static EBaseGaz : GraphemeClusterBreak; 33 static EModifier : GraphemeClusterBreak; 34 static GlueAfterZwj : GraphemeClusterBreak; 35 static Zwj : GraphemeClusterBreak; 36 37 38 /** 39 * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.EnumeratedProperty.html#tymethod.for_char) for more information. 40 */ 41 static forChar(ch: codepoint): GraphemeClusterBreak; 42 43 /** 44 * Convert to an integer value usable with ICU4C and CodePointMapData 45 * 46 * See the [Rust documentation for `to_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeClusterBreak.html#method.to_icu4c_value) for more information. 47 */ 48 toIntegerValue(): number; 49 50 /** 51 * Convert from an integer value from ICU4C or CodePointMapData 52 * 53 * See the [Rust documentation for `from_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.GraphemeClusterBreak.html#method.from_icu4c_value) for more information. 54 */ 55 static fromIntegerValue(other: number): GraphemeClusterBreak | null; 56 57 constructor(value: GraphemeClusterBreak | string ); 58 }