import { u8, usize } from "./diplomat-runtime" import { FFIError } from "./diplomat-runtime" import { ICU4XBidiDirection } from "./ICU4XBidiDirection"; import { ICU4XError } from "./ICU4XError";
/**
* Bidi information for a single processed paragraph
*/
export class ICU4XBidiParagraph {
/**
* Given a paragraph index `n` within the surrounding text, this sets this object to the paragraph at that index. Returns `ICU4XError::OutOfBoundsError` when out of bounds.
* This is equivalent to calling `paragraph_at()` on `ICU4XBidiInfo` but doesn't create a new object * @throws {@link FFIError}<{@link ICU4XError}>
*/
set_paragraph_in_text(n: usize): void | never;
* Get the BIDI level at a particular byte index in this paragraph. This integer is conceptually a `unicode_bidi::Level`, and can be further inspected using the static methods on ICU4XBidi.
* Returns 0 (equivalent to `Level::ltr()`) on error
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.