Course lesson
Integer Types in Rust
This lesson talks about Integer types in Rust and that there are unsigned and signed integers.
- Duration
- 3 min
- Access
- Free
- Transcript
- Needs source
This lesson talks about Integer types in Rust and that there are unsigned and signed integers.
It also explains how every the type names are composed of "u" and "i", for unsigned and signed respectively, followed by their with in bits. So u8 is an unsigned integer that can store values up to 8 bits (0 - 255).