tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

GeneralCategoryGroup.d.ts (4244B)


      1 // generated by diplomat-tool
      2 import type { GeneralCategory } from "./GeneralCategory"
      3 import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
      4 
      5 
      6 /**
      7 * A mask that is capable of representing groups of `General_Category` values.
      8 *
      9 * See the [Rust documentation for `GeneralCategoryGroup`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html) for more information.
     10 */
     11 type GeneralCategoryGroup_obj = {
     12    mask: number;
     13 };
     14 
     15 
     16 
     17 export class GeneralCategoryGroup {
     18    get mask(): number;
     19    set mask(value: number);
     20    /** Create `GeneralCategoryGroup` from an object that contains all of `GeneralCategoryGroup`s fields.
     21    * Optional fields do not need to be included in the provided object.
     22    */
     23    static fromFields(structObj : GeneralCategoryGroup_obj) : GeneralCategoryGroup;
     24 
     25 
     26 
     27    /**
     28     * See the [Rust documentation for `contains`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#method.contains) for more information.
     29     */
     30    contains(val: GeneralCategory): boolean;
     31 
     32    /**
     33     * See the [Rust documentation for `complement`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#method.complement) for more information.
     34     */
     35    complement(): GeneralCategoryGroup;
     36 
     37    /**
     38     * See the [Rust documentation for `all`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#method.all) for more information.
     39     */
     40    static all(): GeneralCategoryGroup;
     41 
     42    /**
     43     * See the [Rust documentation for `empty`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#method.empty) for more information.
     44     */
     45    static empty(): GeneralCategoryGroup;
     46 
     47    /**
     48     * See the [Rust documentation for `union`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#method.union) for more information.
     49     */
     50    union(other: GeneralCategoryGroup_obj): GeneralCategoryGroup;
     51 
     52    /**
     53     * See the [Rust documentation for `intersection`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#method.intersection) for more information.
     54     */
     55    intersection(other: GeneralCategoryGroup_obj): GeneralCategoryGroup;
     56 
     57    /**
     58     * See the [Rust documentation for `CasedLetter`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.CasedLetter) for more information.
     59     */
     60    static casedLetter(): GeneralCategoryGroup;
     61 
     62    /**
     63     * See the [Rust documentation for `Letter`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Letter) for more information.
     64     */
     65    static letter(): GeneralCategoryGroup;
     66 
     67    /**
     68     * See the [Rust documentation for `Mark`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Mark) for more information.
     69     */
     70    static mark(): GeneralCategoryGroup;
     71 
     72    /**
     73     * See the [Rust documentation for `Number`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Number) for more information.
     74     */
     75    static number(): GeneralCategoryGroup;
     76 
     77    /**
     78     * See the [Rust documentation for `Other`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Other) for more information.
     79     */
     80    static separator(): GeneralCategoryGroup;
     81 
     82    /**
     83     * See the [Rust documentation for `Letter`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Letter) for more information.
     84     */
     85    static other(): GeneralCategoryGroup;
     86 
     87    /**
     88     * See the [Rust documentation for `Punctuation`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Punctuation) for more information.
     89     */
     90    static punctuation(): GeneralCategoryGroup;
     91 
     92    /**
     93     * See the [Rust documentation for `Symbol`](https://docs.rs/icu/latest/icu/properties/props/struct.GeneralCategoryGroup.html#associatedconstant.Symbol) for more information.
     94     */
     95    static symbol(): GeneralCategoryGroup;
     96 
     97    constructor(structObj: GeneralCategoryGroup_obj);
     98 }