• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
3
4
5/** See the [Rust documentation for `WordBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.WordBreak.html) for more information.
6*/
7
8
9export class WordBreak {
10
11
12    static fromValue(value : WordBreak | string) : WordBreak;
13
14    get value() : string;
15
16    get ffiValue() : number;
17
18    static Other : WordBreak;
19    static ALetter : WordBreak;
20    static Format : WordBreak;
21    static Katakana : WordBreak;
22    static MidLetter : WordBreak;
23    static MidNum : WordBreak;
24    static Numeric : WordBreak;
25    static ExtendNumLet : WordBreak;
26    static Cr : WordBreak;
27    static Extend : WordBreak;
28    static Lf : WordBreak;
29    static MidNumLet : WordBreak;
30    static Newline : WordBreak;
31    static RegionalIndicator : WordBreak;
32    static HebrewLetter : WordBreak;
33    static SingleQuote : WordBreak;
34    static DoubleQuote : WordBreak;
35    static EBase : WordBreak;
36    static EBaseGaz : WordBreak;
37    static EModifier : WordBreak;
38    static GlueAfterZwj : WordBreak;
39    static Zwj : WordBreak;
40    static WSegSpace : WordBreak;
41
42    static forChar(ch: codepoint): WordBreak;
43
44    longName(): string | null;
45
46    shortName(): string | null;
47
48    toIntegerValue(): number;
49
50    static fromIntegerValue(other: number): WordBreak | null;
51
52    constructor(value: WordBreak | string );
53}