Function core::str::utf8_char_width [−][src]
pub fn utf8_char_width(b: u8) -> usize🔬 This is a nightly-only experimental API. (
str_internals)This is supported on non-crate feature
miri-test-libstd or test or doctest only.Expand description
Given a first byte, determines how many bytes are in this UTF-8 character.