Types
Rust provides several mechanisms to change or define the type of primitive and user defined types. The following sections cover:
- Casting between primitive types
- Specifying the desired type of literals
- Using type inference
- Aliasing types
Rust provides several mechanisms to change or define the type of primitive and user defined types. The following sections cover: