Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XScriptExtensionsSet.d.ts

raw
1 import { u16, usize } from "./diplomat-runtime"
2
3 /**
4
5 * An object that represents the Script_Extensions property for a single character
6
7 * See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html Rust documentation for `ScriptExtensionsSet`} for more information.
8 */
9 export class ICU4XScriptExtensionsSet {
10
11 /**
12
13 * Check if the Script_Extensions property of the given code point covers the given script
14
15 * See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.contains Rust documentation for `contains`} for more information.
16 */
17 contains(script: u16): boolean;
18
19 /**
20
21 * Get the number of scripts contained in here
22
23 * See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter Rust documentation for `iter`} for more information.
24 */
25 count(): usize;
26
27 /**
28
29 * Get script at index
30
31 * See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter Rust documentation for `iter`} for more information.
32 */
33 script_at(index: usize): u16 | undefined;
34 }