unicode_bidi::utf16

Function is_high_surrogate

Source
fn is_high_surrogate(code: u16) -> bool
Expand description

Implementation of TextSource for UTF-16 text in a u16 array. Note that there could be unpaired surrogates present!