Function unicode_bidi::para_direction

source ยท
pub(crate) fn para_direction(levels: &[Level]) -> Direction
Expand description

Return the directionality of the paragraph (Left, Right or Mixed) from its levels.