std-module
std::char — scalar utilities
Use the module for constants and character conversion helpers; most classification methods are on the primitive char. Expected stdout (not executed): � Common mistake: Treating a char as an entire visible letter in every script.
Formal Syntax & Structure
rust syntaxrust
use std::char;Working Example
Example Snippetrust
fn main() { println!("{}", std::char::REPLACEMENT_CHARACTER);}