Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/icu_capi/bindings/js/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 978 B image not shown  

Quelle  ICU4XBidiInfo.d.ts   Sprache: unbekannt

 
Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

import { u8, usize } from "./diplomat-runtime"
import { ICU4XBidiParagraph } from "./ICU4XBidiParagraph";

/**

 * An object containing bidi information for a given string, produced by `for_text()` on `ICU4XBidi`

 * See the {@link https://docs.rs/unicode_bidi/latest/unicode_bidi/struct.BidiInfo.html Rust documentation for `BidiInfo`} for more information.
 */
export class ICU4XBidiInfo {

  /**

   * The number of paragraphs contained here
   */
  paragraph_count(): usize;

  /**

   * Get the nth paragraph, returning `None` if out of bounds
   */
  paragraph_at(n: usize): ICU4XBidiParagraph | undefined;

  /**

   * The number of bytes in this full text
   */
  size(): usize;

  /**

   * Get the BIDI level at a particular byte index in the full text. 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
   */
  level_at(pos: usize): u8;
}

[ Dauer der Verarbeitung: 0.41 Sekunden  ]