1// generated by diplomat-tool 2import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5/** See the [Rust documentation for `EastAsianWidth`](https://docs.rs/icu/latest/icu/properties/props/struct.EastAsianWidth.html) for more information. 6*/ 7 8 9export class EastAsianWidth { 10 11 12 static fromValue(value : EastAsianWidth | string) : EastAsianWidth; 13 14 get value() : string; 15 16 get ffiValue() : number; 17 18 static Neutral : EastAsianWidth; 19 static Ambiguous : EastAsianWidth; 20 static Halfwidth : EastAsianWidth; 21 static Fullwidth : EastAsianWidth; 22 static Narrow : EastAsianWidth; 23 static Wide : EastAsianWidth; 24 25 static forChar(ch: codepoint): EastAsianWidth; 26 27 longName(): string | null; 28 29 shortName(): string | null; 30 31 toIntegerValue(): number; 32 33 static fromIntegerValue(other: number): EastAsianWidth | null; 34 35 constructor(value: EastAsianWidth | string ); 36}