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
Content-Length: 14207 | pFad | https://doc.rust-lang.org/std/iter/../convert/../../std/../std/../rust-by-example/types.html
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Rust provides several mechanisms to change or define the type of primitive and user defined types. The following sections cover:
Fetched URL: https://doc.rust-lang.org/std/iter/../convert/../../std/../std/../rust-by-example/types.html
Alternative Proxies: