unicode_linebreak

Function break_property

source
pub fn break_property(codepoint: u32) -> BreakClass
Expand description

Returns the line break property of the specified code point.

ยงExamples

use unicode_linebreak::{BreakClass, break_property};
assert_eq!(break_property(0x2CF3), BreakClass::Alphabetic);