Type casting in Rust code example
Example: casting in rust
// Explicit conversion
let integer = decimal as u8;
let character = integer as char;
// Explicit conversion
let integer = decimal as u8;
let character = integer as char;