ScriptExtensionsSet.d.ts (1273B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 /** 6 * An object that represents the Script_Extensions property for a single character 7 * 8 * See the [Rust documentation for `ScriptExtensionsSet`](https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html) for more information. 9 */ 10 11 12 export class ScriptExtensionsSet { 13 get ffiValue(): pointer; 14 15 16 /** 17 * Check if the Script_Extensions property of the given code point covers the given script 18 * 19 * See the [Rust documentation for `contains`](https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.contains) for more information. 20 */ 21 contains(script: number): boolean; 22 23 /** 24 * Get the number of scripts contained in here 25 * 26 * See the [Rust documentation for `iter`](https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter) for more information. 27 */ 28 get count(): number; 29 30 /** 31 * Get script at index 32 * 33 * See the [Rust documentation for `iter`](https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter) for more information. 34 */ 35 scriptAt(index: number): number | null; 36 }