Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XLocaleFallbackerWithConfig.d.ts

raw
1 import { ICU4XLocale } from "./ICU4XLocale";
2 import { ICU4XLocaleFallbackIterator } from "./ICU4XLocaleFallbackIterator";
3
4 /**
5
6 * An object that runs the ICU4X locale fallback algorithm with specific configurations.
7
8 * See the {@link https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.LocaleFallbacker.html Rust documentation for `LocaleFallbacker`} for more information.
9
10 * See the {@link https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.LocaleFallbackerWithConfig.html Rust documentation for `LocaleFallbackerWithConfig`} for more information.
11 */
12 export class ICU4XLocaleFallbackerWithConfig {
13
14 /**
15
16 * Creates an iterator from a locale with each step of fallback.
17
18 * See the {@link https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.LocaleFallbacker.html#method.fallback_for Rust documentation for `fallback_for`} for more information.
19 */
20 fallback_for_locale(locale: ICU4XLocale): ICU4XLocaleFallbackIterator;
21 }