#include <ICU4XBidiInfo.hpp>
An object containing bidi information for a given string, produced by for_text()
on ICU4XBidi
See the Rust documentation for BidiInfo
for more information.
◆ ICU4XBidiInfo() [1/3]
ICU4XBidiInfo::ICU4XBidiInfo |
( |
capi::ICU4XBidiInfo * | i | ) |
|
|
inlineexplicit |
◆ ICU4XBidiInfo() [2/3]
ICU4XBidiInfo::ICU4XBidiInfo |
( |
| ) |
|
|
default |
◆ ICU4XBidiInfo() [3/3]
◆ level_at()
uint8_t ICU4XBidiInfo::level_at |
( |
size_t | pos | ) |
const |
|
inline |
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
◆ operator=()
◆ paragraph_at()
Get the nth paragraph, returning None
if out of bounds
Lifetimes: this
must live at least as long as the output.
◆ paragraph_count()
size_t ICU4XBidiInfo::paragraph_count |
( |
| ) |
const |
|
inline |
The number of paragraphs contained here
◆ size()
size_t ICU4XBidiInfo::size |
( |
| ) |
const |
|
inline |
The number of bytes in this full text
The documentation for this class was generated from the following file: