xi_unicode

Function linebreak_property_str

Source
pub fn linebreak_property_str(s: &str, ix: usize) -> (u8, usize)
Expand description

The Unicode line breaking property of the given code point.

Look up the line breaking property for the first code point in the string. Return the property as a numeric value, and also the utf-8 length of the codepoint, for convenience.