blob: 348d2a7386c440e0683514d858ba94648c3d86e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import { ICU4XLocale } from "./ICU4XLocale";
/**
* An iterator over the locale under fallback.
* See the {@link https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.LocaleFallbackIterator.html Rust documentation for `LocaleFallbackIterator`} for more information.
*/
export class ICU4XLocaleFallbackIterator {
/**
* Gets a snapshot of the current state of the locale.
* See the {@link https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.LocaleFallbackIterator.html#method.get Rust documentation for `get`} for more information.
*/
get(): ICU4XLocale;
/**
* Performs one step of the fallback algorithm, mutating the locale.
* See the {@link https://docs.rs/icu/latest/icu/locid_transform/fallback/struct.LocaleFallbackIterator.html#method.step Rust documentation for `step`} for more information.
*/
step(): void;
}
|