BidiInfo class final
An object containing bidi information for a given string, produced by for_text()
on Bidi
See the Rust documentation for BidiInfo
for more information.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- paragraphCount → int
-
The number of paragraphs contained here
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The number of bytes in this full text
no setter
Methods
-
levelAt(
int pos) → int -
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 Bidi. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paragraphAt(
int n) → BidiParagraph? -
Get the nth paragraph, returning
None
if out of bounds -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited