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 ICU4XLocaleExpander.d.ts Sprache: unbekannt
Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { FFIError } from "./diplomat-runtime"
import { ICU4XDataProvider } from "./ICU4XDataProvider";
import { ICU4XError } from "./ICU4XError";
import { ICU4XLocale } from "./ICU4XLocale";
import { ICU4XTransformResult } from "./ICU4XTransformResult";
/**
* A locale expander.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleExpande
r.html
Rust documentation for `LocaleExpander`} for more information.
*/
export class ICU4XLocaleExpander {
/**
* Create a new {@link ICU4XLocaleExpander `ICU4XLocaleExpander`}.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleExpande
r.html#method.new
Rust documentation for `new`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create(provider: ICU4XDataProvider): ICU4XLocaleExpander | never;
/**
* Create a new {@link ICU4XLocaleExpander `ICU4XLocaleExpander`} with extended data.
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleExpande
r.html#method.new_extended
Rust documentation for `new_extended`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create_extended(provider: ICU4XDataProvider): ICU4XLocaleExpander | never;
/**
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleExpande
r.html#method.maximize
Rust documentation for `maximize`} for more information.
*/
maximize(locale: ICU4XLocale): ICU4XTransformResult;
/**
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleExpande
r.html#method.minimize
Rust documentation for `minimize`} for more information.
*/
minimize(locale: ICU4XLocale): ICU4XTransformResult;
/**
* See the {@link
https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleExpande
r.html#method.minimize_favor_script
Rust documentation for `minimize_favor_script`} fo
r more information.
*/
minimize_favor_script(locale: ICU4XLocale): ICU4XTransformResult;
}
[ Dauer der Verarbeitung: 0.36 Sekunden
]
2026-04-04