Function core::str::utf8_char_widthDeprecated [-]  [+] [src]

pub fn utf8_char_width(b: u8) -> uint

Given a first byte, determine how many bytes are in this UTF-8 character