Learn Rust
This is an adaptation of an exciting rustlings course. In it you will find plenty of small exercises to help beginners learn how to read and write Rust programs.
About this course
Trying to stick closely to the original spirit of rustlings course, this adaptation provides a few helpful hints about Rust development added inside the IDE. The materials of this course are also drawn from The Rust Programming Language Book written by Steve Klabnik and Carol Nichols with contributions by the Rust Community.
To work in this course, you will need the Rust toolchain installed on your machine. The corresponding chapter of The Book will provide you with all the instructions on how to do that.
This course runs directly in your
JetBrains IDE
Content
- Getting started
- Variables
- Basic Data Types
- Functions
- Conditions
- Variables, Functions, and Conditions Test
- Tuples and Arrays
- Repetitions
- What is ownership
- References and Borrowing
- The Slice Type
- Structs
- Structs with Methods
- Enums
- Pattern Matching
- Modules
- Vectors
- Strings
- Hashmaps
- Options
- Error Handling
- Errors Primer
- Generic Data Types
- Traits
- Lifetimes
- How to Write Tests
- Running and Organizing Tests
- Closures
- Iterators
- Smart Pointers
- Type Conversions
- Using Threads to Run Code Simultaneously
- Using Message Passing to Transfer Data Between Threads
- Shared-State Concurrency
- Declarative Macros
- Procedural Macros
Learn directly inside your JetBrains IDEs
What do you need to start?
The JetBrains Toolbox App makes setting up your course effortless. Already have a compatible IDE? It will launch it. If not, the app will install the right free IDE for your course.
Learn more about our licences here.
Click Launch course and then Allow to open the Toolbox App.
Select Always Allow to skip this confirmation in the future.
To return to the course later, find it in your IDE's recent projects.
Need more help? Check out our guide.
The JetBrains Toolbox App makes setting up your course effortless. Already have a compatible IDE? It will launch it. If not, the app will install the right free IDE for your course.
Learn more about our licences here.
Click Launch course and then Allow to open the Toolbox App.
Select Always Allow to skip this confirmation in the future.
To return to the course later, find it in your IDE's recent projects.
Need more help? Check out our guide.
FAQ and troubleshooting
Yes, you will need the JetBrains Toolbox App and a JetBrains IDE.
But don’t worry! Just click the Open course button and then select Allow in the resultant popup to install the JetBrains Toolbox App. We've taken care of all the necessary settings, and the app will handle the rest of the setup for you.
The JetBrains Toolbox App checks which IDE is compatible with your course and whether it is installed on your computer. If you have the necessary IDE installed, the app will open it. If not, JetBrains Toolbox will initiate the installation, prioritizing free community editions.
Yes, the JetBrains Toolbox App is essential even if you already have a JetBrains IDE. It automatically prepares your IDE for studying by installing the essential plugins and updating the IDE if necessary.
Please make sure your version of the JetBrains Toolbox App is 1.28 or newer. To update, open the app and click Update Toolbox App to 2.x.x., or download the latest version here.