Integer Types in Rust

Pascal Precht
InstructorPascal Precht
Share this video with your friends

Social Share Links

Send Tweet
Published 5 years ago
Updated 4 years ago

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).