Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Learn Rust Programming - Complete Course

via freeCodeCamp

Overview

This course aims to teach beginners the core concepts of Rust programming language and its underlying mechanisms. By the end of the course, students will be able to understand variables, numbers, expressions, functions, ownership, borrowing, strings, slices, structs, enums, flow control, generics, traits, closures, iterators, and more. The teaching method involves theoretical explanations and practical examples. This course is intended for individuals interested in learning Rust programming from scratch.

Syllabus

Introduction & Learning Resources
Variables
Numbers & Binary System
Chars, Bools & Unit Types
Statements & Expressions
Functions
Ownership
Borrowing
String vs. &str
Slices
Tuples
Structs
Enums
The "Option" Enum
Flow Control
Pattern Match
Methods & Associated Functions
Generics
Traits
Trait Objects
Associated Types
String
Vectors
HashMaps
Type Coercion
From & Into
panic!
Result
Cargo, Crates & Modules
Debug & Display
Lifetimes
Lifetime Elision
Closures
Iterators
Because of the `move` keyword the closure actually takes ownership of the `movable` variable, not an immutable reference. The reason we can call the closure twice is because the `movable` variable INSIDE the closure is the owner of the data. Meaning we can call the closure any number of times.

Taught by

freeCodeCamp.org

Reviews

5.0 rating, based on 2 Class Central reviews

Start your review of Learn Rust Programming - Complete Course

  • This course was really helpful and it is highly recommended. This happens to be my first course on my journey of becoming a rustacean. Thanks a million times.
  • After rustlings I catched some valuable things for me. Recommended for all who want start learn Rust.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.