blob: d5d85bb2ccbbbbe7f211fd604cb2f0d27949eba0 [file] [log] [blame]
// generated by diplomat-tool
import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** See the [Rust documentation for `EastAsianWidth`](https://docs.rs/icu/latest/icu/properties/props/struct.EastAsianWidth.html) for more information.
*/
export class EastAsianWidth {
static fromValue(value : EastAsianWidth | string) : EastAsianWidth;
get value() : string;
get ffiValue() : number;
static Neutral : EastAsianWidth;
static Ambiguous : EastAsianWidth;
static Halfwidth : EastAsianWidth;
static Fullwidth : EastAsianWidth;
static Narrow : EastAsianWidth;
static Wide : EastAsianWidth;
static forChar(ch: codepoint): EastAsianWidth;
longName(): string | null;
shortName(): string | null;
toIntegerValue(): number;
static fromIntegerValue(other: number): EastAsianWidth | null;
constructor(value: EastAsianWidth | string );
}