Quellcodebibliothek
Statistik
Leitseite
products
/
sources
/
formale Sprachen
/
C
/
Firefox
/
intl
/
icu_capi
/
bindings
/
js
/ (
Browser von der Mozilla Stiftung
Version 136.0.1
©
) Datei vom 10.2.2025 mit Größe 1 kB
Quelle ICU4XLocaleFallbacker.d.ts Sprache: unbekannt
import { FFIError } from "./diplomat-runtime"
import { ICU4XDataProvider } from "./ICU4XDataProvider";
import { ICU4XError } from "./ICU4XError";
import { ICU4XLocaleFallbackConfig } from "./ICU4XLocaleFallbackConfig";
import { ICU4XLocaleFallbackerWithConfig } from "./ICU4XLocaleFallbackerWithConfig";
/**
* An object that runs the ICU4X locale fallback algorithm.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.Loca
leFallbacker.html
Rust documentation for `LocaleFallbacker`} for more information.
*/
export class ICU4XLocaleFallbacker {
/**
* Creates a new `ICU4XLocaleFallbacker` from a data provider.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.Loca
leFallbacker.html#method.new
Rust documentation for `new`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create(provider: ICU4XDataProvider): ICU4XLocaleFallbacker | never;
/**
* Creates a new `ICU4XLocaleFallbacker` without data for limited functionality.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.Loca
leFallbacker.html#method.new_without_data
Rust documentation for `new_without_data`} f
or more information.
*/
static create_without_data(): ICU4XLocaleFallbacker;
/**
* Associates this `ICU4XLocaleFallbacker` with configuration options.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.Loca
leFallbacker.html#method.for_config
Rust documentation for `for_config`} for more inform
ation.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
for_config(config: ICU4XLocaleFallbackConfig): ICU4XLocaleFallbackerWithConfig | nev
er;
}
[ Dauer der Verarbeitung: 0.1 Sekunden (vorverarbeitet)
]
2026-04-06