W3cubDocs

/Rust

Constant std::char::MAX

pub const MAX: char

The highest valid code point a char can have.

A char is a Unicode Scalar Value, which means that it is a Code Point, but only ones within a certain range. MAX is the highest valid code point that's a valid Unicode Scalar Value.

© 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.html