[−][src]Function core::str::utf8_char_width
pub fn utf8_char_width(b: u8) -> usize
Given a first byte, determines how many bytes are in this UTF-8 character.
pub fn utf8_char_width(b: u8) -> usize
Given a first byte, determines how many bytes are in this UTF-8 character.