Udemy Course of Rust
This repository contains all classes with code content from course about Rust
Run codes
To run main code, open the folder and run
cargo run
Run binaries
Inside the folder and run:
cargo run --bin {file_name}
Control Flow
Binaries:
- userinput
- somevalueswhile
- average
- for
Enums
Binaries
- gender
- car-type
- payment-type
Code Blocks and Shadowing
Binaries
- variables-statics
Strings
Binaries
- slice_string
- methods
Structs
Binaries
- struct-tuple
- impl
- traits
Files
Binaries
- write_file
Match
Binaries
- user_input
Modules
Binaries
- pessoa_module