• 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 `PluralCategory`](https://docs.rs/icu/latest/icu/plurals/enum.PluralCategory.html) for more information.
6*/
7
8
9export class PluralCategory {
10
11
12    static fromValue(value : PluralCategory | string) : PluralCategory;
13
14    get value() : string;
15
16    get ffiValue() : number;
17
18    static Zero : PluralCategory;
19    static One : PluralCategory;
20    static Two : PluralCategory;
21    static Few : PluralCategory;
22    static Many : PluralCategory;
23    static Other : PluralCategory;
24
25    static getForCldrString(s: string): PluralCategory | null;
26
27    constructor(value: PluralCategory | string );
28}