BidiClass.d.ts (2869B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * See the [Rust documentation for `BidiClass`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiClass.html) for more information. 7 */ 8 9 10 export class BidiClass { 11 12 static fromValue(value: BidiClass | string): BidiClass; 13 14 get value(): string; 15 16 get ffiValue(): number; 17 18 static LeftToRight : BidiClass; 19 static RightToLeft : BidiClass; 20 static EuropeanNumber : BidiClass; 21 static EuropeanSeparator : BidiClass; 22 static EuropeanTerminator : BidiClass; 23 static ArabicNumber : BidiClass; 24 static CommonSeparator : BidiClass; 25 static ParagraphSeparator : BidiClass; 26 static SegmentSeparator : BidiClass; 27 static WhiteSpace : BidiClass; 28 static OtherNeutral : BidiClass; 29 static LeftToRightEmbedding : BidiClass; 30 static LeftToRightOverride : BidiClass; 31 static ArabicLetter : BidiClass; 32 static RightToLeftEmbedding : BidiClass; 33 static RightToLeftOverride : BidiClass; 34 static PopDirectionalFormat : BidiClass; 35 static NonspacingMark : BidiClass; 36 static BoundaryNeutral : BidiClass; 37 static FirstStrongIsolate : BidiClass; 38 static LeftToRightIsolate : BidiClass; 39 static RightToLeftIsolate : BidiClass; 40 static PopDirectionalIsolate : BidiClass; 41 42 43 /** 44 * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.EnumeratedProperty.html#tymethod.for_char) for more information. 45 */ 46 static forChar(ch: codepoint): BidiClass; 47 48 /** 49 * Get the "long" name of this property value (returns empty if property value is unknown) 50 * 51 * See the [Rust documentation for `get`](https://docs.rs/icu/latest/icu/properties/struct.PropertyNamesLongBorrowed.html#method.get) for more information. 52 */ 53 longName(): string | null; 54 55 /** 56 * Get the "short" name of this property value (returns empty if property value is unknown) 57 * 58 * See the [Rust documentation for `get`](https://docs.rs/icu/latest/icu/properties/struct.PropertyNamesShortBorrowed.html#method.get) for more information. 59 */ 60 shortName(): string | null; 61 62 /** 63 * Convert to an integer value usable with ICU4C and CodePointMapData 64 * 65 * See the [Rust documentation for `to_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiClass.html#method.to_icu4c_value) for more information. 66 */ 67 toIntegerValue(): number; 68 69 /** 70 * Convert from an integer value from ICU4C or CodePointMapData 71 * 72 * See the [Rust documentation for `from_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.BidiClass.html#method.from_icu4c_value) for more information. 73 */ 74 static fromIntegerValue(other: number): BidiClass | null; 75 76 constructor(value: BidiClass | string ); 77 }