Function unicode_bidi::assign_levels_to_removed_chars

source ยท
pub(crate) fn assign_levels_to_removed_chars(
    para_level: Level,
    classes: &[BidiClass],
    levels: &mut [Level],
)
Expand description

Assign levels to characters removed by rule X9.

The levels assigned to these characters are not specified by the algorithm. This function assigns each one the level of the previous character, to avoid breaking level runs.