tor-browser

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

LocaleFallbackerWithConfig.d.ts (1045B)


      1 // generated by diplomat-tool
      2 import type { Locale } from "./Locale"
      3 import type { LocaleFallbackIterator } from "./LocaleFallbackIterator"
      4 import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
      5 
      6 
      7 /**
      8 * An object that runs the ICU4X locale fallback algorithm with specific configurations.
      9 *
     10 * See the [Rust documentation for `LocaleFallbacker`](https://docs.rs/icu/latest/icu/locale/fallback/struct.LocaleFallbacker.html) for more information.
     11 *
     12 * See the [Rust documentation for `LocaleFallbackerWithConfig`](https://docs.rs/icu/latest/icu/locale/fallback/struct.LocaleFallbackerWithConfig.html) for more information.
     13 */
     14 
     15 
     16 export class LocaleFallbackerWithConfig {
     17    get ffiValue(): pointer;
     18 
     19 
     20    /**
     21     * Creates an iterator from a locale with each step of fallback.
     22     *
     23     * See the [Rust documentation for `fallback_for`](https://docs.rs/icu/latest/icu/locale/fallback/struct.LocaleFallbacker.html#method.fallback_for) for more information.
     24     */
     25    fallbackForLocale(locale: Locale): LocaleFallbackIterator;
     26 }