pub const MAX_LEN_UTF8: usize = char::MAX_LEN_UTF8; // 4usize
char_max_len #121714)
The maximum number of bytes required to encode a char to UTF-8 encoding.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/char/constant.MAX_LEN_UTF8.html