• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { LocaleFallbackPriority } from "./LocaleFallbackPriority"
3import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
4
5
6/** Collection of configurations for the ICU4X fallback algorithm.
7*
8*See the [Rust documentation for `LocaleFallbackConfig`](https://docs.rs/icu/latest/icu/locale/fallback/struct.LocaleFallbackConfig.html) for more information.
9*/
10type LocaleFallbackConfig_obj = {
11    priority: LocaleFallbackPriority;
12};
13
14
15
16export class LocaleFallbackConfig {
17
18    get priority() : LocaleFallbackPriority;
19    set priority(value: LocaleFallbackPriority);
20
21    /** Create `LocaleFallbackConfig` from an object that contains all of `LocaleFallbackConfig`s fields.
22    * Optional fields do not need to be included in the provided object.
23    */
24    static fromFields(structObj : LocaleFallbackConfig_obj) : LocaleFallbackConfig;
25
26
27    constructor(structObj : LocaleFallbackConfig_obj);
28}