pub fn unicode_bidi_levels(
base_direction: LayoutDirection,
line: impl Iterator<Item = TextSegmentKind>,
levels: &mut Vec<BidiLevel>,
)Expand description
Compute initial bidirectional levels of each segment of a line.
The result is set in levels.