/** * Use the data loaded in this object to process a string and calculate bidi information * * Takes in a Level for the default level, if it is an invalid value it will default to LTR * * Returns nothing if `text` is invalid UTF-8. * * See the [Rust documentation for `new_with_data_source`](https://docs.rs/unicode_bidi/latest/unicode_bidi/struct.BidiInfo.html#method.new_with_data_source) for more information. * * Lifetimes: `text` must live at least as long as the output.
*/
std::optional<ICU4XBidiInfo> for_text(const std::string_view text, uint8_t default_level) const;
/** * Utility function for producing reorderings given a list of levels * * Produces a map saying which visual index maps to which source index. * * The levels array must not have values greater than 126 (this is the * Bidi maximum explicit depth plus one). * Failure to follow this invariant may lead to incorrect results, * but is still safe. * * See the [Rust documentation for `reorder_visual`](https://docs.rs/unicode_bidi/latest/unicode_bidi/struct.BidiInfo.html#method.reorder_visual) for more information.
*/
ICU4XReorderedIndexMap reorder_visual(const diplomat::span<const uint8_t> levels) const;
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.