• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { Locale } from "./Locale"
3import type { LocaleFallbackIterator } from "./LocaleFallbackIterator"
4import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
5
6
7/** An object that runs the ICU4X locale fallback algorithm with specific configurations.
8*
9*See the [Rust documentation for `LocaleFallbacker`](https://docs.rs/icu/latest/icu/locale/fallback/struct.LocaleFallbacker.html) for more information.
10*
11*See the [Rust documentation for `LocaleFallbackerWithConfig`](https://docs.rs/icu/latest/icu/locale/fallback/struct.LocaleFallbackerWithConfig.html) for more information.
12*/
13
14
15export class LocaleFallbackerWithConfig {
16
17    get ffiValue(): pointer;
18
19    fallbackForLocale(locale: Locale): LocaleFallbackIterator;
20}