1
0
Fork 0
firefox/intl/icu_capi/bindings/js/ICU4XScriptExtensionsSet.d.ts
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

34 lines
1.1 KiB
TypeScript

import { u16, usize } from "./diplomat-runtime"
/**
* An object that represents the Script_Extensions property for a single character
* See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html Rust documentation for `ScriptExtensionsSet`} for more information.
*/
export class ICU4XScriptExtensionsSet {
/**
* Check if the Script_Extensions property of the given code point covers the given script
* See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.contains Rust documentation for `contains`} for more information.
*/
contains(script: u16): boolean;
/**
* Get the number of scripts contained in here
* See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter Rust documentation for `iter`} for more information.
*/
count(): usize;
/**
* Get script at index
* See the {@link https://docs.rs/icu/latest/icu/properties/script/struct.ScriptExtensionsSet.html#method.iter Rust documentation for `iter`} for more information.
*/
script_at(index: usize): u16 | undefined;
}