Function unicode_bidi::implicit::identify_bracket_pairs
source ยท fn identify_bracket_pairs<'a, T: TextSource<'a> + ?Sized, D: BidiDataSource>(
text: &'a T,
data_source: &D,
run_sequence: &IsolatingRunSequence,
original_classes: &[BidiClass],
bracket_pairs: &mut Vec<BracketPair>,
)
Expand description
3.1.3 Identifying Bracket Pairs
Returns all paired brackets in the source, as indices into the text source.