Function unicode_bidi::prepare::isolating_run_sequences

source ยท
pub fn isolating_run_sequences(
    para_level: Level,
    original_classes: &[BidiClass],
    levels: &[Level],
    runs: LevelRunVec,
    has_isolate_controls: bool,
    isolating_run_sequences: &mut Vec<IsolatingRunSequence>,
)
Expand description

Compute the set of isolating run sequences.

An isolating run sequence is a maximal sequence of level runs such that for all level runs except the last one in the sequence, the last character of the run is an isolate initiator whose matching PDI is the first character of the next level run in the sequence.

Note: This function does not return the sequences in order by their first characters.