LineBreak.d.ts (3595B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * See the [Rust documentation for `LineBreak`](https://docs.rs/icu/latest/icu/properties/props/struct.LineBreak.html) for more information. 7 */ 8 9 10 export class LineBreak { 11 12 static fromValue(value: LineBreak | string): LineBreak; 13 14 get value(): string; 15 16 get ffiValue(): number; 17 18 static Unknown : LineBreak; 19 static Ambiguous : LineBreak; 20 static Alphabetic : LineBreak; 21 static BreakBoth : LineBreak; 22 static BreakAfter : LineBreak; 23 static BreakBefore : LineBreak; 24 static MandatoryBreak : LineBreak; 25 static ContingentBreak : LineBreak; 26 static ClosePunctuation : LineBreak; 27 static CombiningMark : LineBreak; 28 static CarriageReturn : LineBreak; 29 static Exclamation : LineBreak; 30 static Glue : LineBreak; 31 static Hyphen : LineBreak; 32 static Ideographic : LineBreak; 33 static Inseparable : LineBreak; 34 static InfixNumeric : LineBreak; 35 static LineFeed : LineBreak; 36 static Nonstarter : LineBreak; 37 static Numeric : LineBreak; 38 static OpenPunctuation : LineBreak; 39 static PostfixNumeric : LineBreak; 40 static PrefixNumeric : LineBreak; 41 static Quotation : LineBreak; 42 static ComplexContext : LineBreak; 43 static Surrogate : LineBreak; 44 static Space : LineBreak; 45 static BreakSymbols : LineBreak; 46 static ZwSpace : LineBreak; 47 static NextLine : LineBreak; 48 static WordJoiner : LineBreak; 49 static H2 : LineBreak; 50 static H3 : LineBreak; 51 static Jl : LineBreak; 52 static Jt : LineBreak; 53 static Jv : LineBreak; 54 static CloseParenthesis : LineBreak; 55 static ConditionalJapaneseStarter : LineBreak; 56 static HebrewLetter : LineBreak; 57 static RegionalIndicator : LineBreak; 58 static EBase : LineBreak; 59 static EModifier : LineBreak; 60 static Zwj : LineBreak; 61 static Aksara : LineBreak; 62 static AksaraPrebase : LineBreak; 63 static AksaraStart : LineBreak; 64 static ViramaFinal : LineBreak; 65 static Virama : LineBreak; 66 67 68 /** 69 * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.EnumeratedProperty.html#tymethod.for_char) for more information. 70 */ 71 static forChar(ch: codepoint): LineBreak; 72 73 /** 74 * Get the "long" name of this property value (returns empty if property value is unknown) 75 * 76 * See the [Rust documentation for `get`](https://docs.rs/icu/latest/icu/properties/struct.PropertyNamesLongBorrowed.html#method.get) for more information. 77 */ 78 longName(): string | null; 79 80 /** 81 * Get the "short" name of this property value (returns empty if property value is unknown) 82 * 83 * See the [Rust documentation for `get`](https://docs.rs/icu/latest/icu/properties/struct.PropertyNamesShortBorrowed.html#method.get) for more information. 84 */ 85 shortName(): string | null; 86 87 /** 88 * Convert to an integer value usable with ICU4C and CodePointMapData 89 * 90 * See the [Rust documentation for `to_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.LineBreak.html#method.to_icu4c_value) for more information. 91 */ 92 toIntegerValue(): number; 93 94 /** 95 * Convert from an integer value from ICU4C or CodePointMapData 96 * 97 * See the [Rust documentation for `from_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.LineBreak.html#method.from_icu4c_value) for more information. 98 */ 99 static fromIntegerValue(other: number): LineBreak | null; 100 101 constructor(value: LineBreak | string ); 102 }