tor-browser

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

VerticalOrientation.d.ts (2216B)


      1 // generated by diplomat-tool
      2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
      3 
      4 
      5 /**
      6 * See the [Rust documentation for `VerticalOrientation`](https://docs.rs/icu/latest/icu/properties/props/struct.VerticalOrientation.html) for more information.
      7 */
      8 
      9 
     10 export class VerticalOrientation {
     11 
     12    static fromValue(value: VerticalOrientation | string): VerticalOrientation;
     13 
     14    get value(): string;
     15 
     16    get ffiValue(): number;
     17 
     18    static Rotated : VerticalOrientation;
     19    static TransformedRotated : VerticalOrientation;
     20    static TransformedUpright : VerticalOrientation;
     21    static Upright : VerticalOrientation;
     22 
     23 
     24    /**
     25     * See the [Rust documentation for `for_char`](https://docs.rs/icu/latest/icu/properties/props/trait.EnumeratedProperty.html#tymethod.for_char) for more information.
     26     */
     27    static forChar(ch: codepoint): VerticalOrientation;
     28 
     29    /**
     30     * Get the "long" name of this property value (returns empty if property value is unknown)
     31     *
     32     * See the [Rust documentation for `get`](https://docs.rs/icu/latest/icu/properties/struct.PropertyNamesLongBorrowed.html#method.get) for more information.
     33     */
     34    longName(): string | null;
     35 
     36    /**
     37     * Get the "short" name of this property value (returns empty if property value is unknown)
     38     *
     39     * See the [Rust documentation for `get`](https://docs.rs/icu/latest/icu/properties/struct.PropertyNamesShortBorrowed.html#method.get) for more information.
     40     */
     41    shortName(): string | null;
     42 
     43    /**
     44     * Convert to an integer value usable with ICU4C and CodePointMapData
     45     *
     46     * See the [Rust documentation for `to_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.VerticalOrientation.html#method.to_icu4c_value) for more information.
     47     */
     48    toIntegerValue(): number;
     49 
     50    /**
     51     * Convert from an integer value from ICU4C or CodePointMapData
     52     *
     53     * See the [Rust documentation for `from_icu4c_value`](https://docs.rs/icu/latest/icu/properties/props/struct.VerticalOrientation.html#method.from_icu4c_value) for more information.
     54     */
     55    static fromIntegerValue(other: number): VerticalOrientation | null;
     56 
     57    constructor(value: VerticalOrientation | string );
     58 }