// generated by diplomat-tool import type { DataError } from "./DataError" import type { LocaleFallbacker } from "./LocaleFallbacker" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *AnICU4Xdataprovider,capableofloadingICU4Xdatakeysfromsomesource. * *Currentlytheonlysourcesupportedisloadingfrom"blob"formatteddatafromabytesbufferorthefilesystem. * *IfyouwishtouseICU4X'sbuiltin"compileddata",usetheversionoftheconstructorsthatdonothave`_with_provider` *intheirnames. * *Seethe[Rustdocumentationfor`icu_provider`](https://docs.rs/icu_provider/2.1.1/icu_provider/index.html) for more information.
*/
export class DataProvider { /** @internal */
get ffiValue(): pointer; /** @internal */
constructor();
/** *Seethe[Rustdocumentationfor`try_new_from_blob`](https://docs.rs/icu_provider_blob/2.1.1/icu_provider_blob/struct.BlobDataProvider.html#method.try_new_from_blob) for more information.
*/ static fromByteSlice(blob: Uint8Array): DataProvider;
/** *Createsaproviderthattriesthecurrentproviderandthen,ifthecurrentprovider *doesn'tsupportthedatakey,anotherprovider`other`. * *Thistakesownershipofthe`other`provider,leavinganemptyproviderinitsplace. * *Seethe[Rustdocumentationfor`ForkByMarkerProvider`](https://docs.rs/icu_provider_adapters/2.1.1/icu_provider_adapters/fork/type.ForkByMarkerProvider.html) for more information.
*/
forkByMarker(other: DataProvider): void;
/** *Sameas`fork_by_key`butforksbylocaleinsteadofkey. * *Seethe[Rustdocumentationfor`IdentifierNotFoundPredicate`](https://docs.rs/icu_provider_adapters/2.1.1/icu_provider_adapters/fork/predicates/struct.IdentifierNotFoundPredicate.html) for more information.
*/
forkByLocale(other: DataProvider): void;
/** *Seethe[Rustdocumentationfor`new`](https://docs.rs/icu_provider_adapters/2.1.1/icu_provider_adapters/fallback/struct.LocaleFallbackProvider.html#method.new) for more information. * *Additionalinformation:[1](https://docs.rs/icu_provider_adapters/2.1.1/icu_provider_adapters/fallback/struct.LocaleFallbackProvider.html)
*/
enableLocaleFallbackWith(fallbacker: LocaleFallbacker): void;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.