Skip to main content

text_weight

Function text_weight 

Source
pub fn text_weight(s: &str) -> usize
Expand description

正文的加权长度:空白不算,中日韩文字按 CJK_WEIGHT 算。