From the course: Rust Essential Training
What you should know - Rust Tutorial
From the course: Rust Essential Training
What you should know
- [Narrator] This course is intended for beginners. So you do not need to have any prior experience with Rust. We'll be starting from the very beginning. It will be helpful to have some amount of experience programming with other languages. But even that's not a strict requirement. If you're a seasoned programmer, you'll probably find yourself in familiar territory during the first half of this course as we cover common concepts like variables, functions, conditional expressions, and loops. To see how they're implemented in Rust. In the second half of the course, we'll get in to some of the more unique concepts that make Rust different from other languages. Like ownership and the borrow checker. Now, Rust does have a reputation as being a difficult language to learn. And I'll admit it's not the easiest language. But is not necessarily hard. It really comes down to having the right mindset. Learning the languages syntax is just a small part of the journey. The bigger piece is learning to think properly in terms of Rust. Because of it's differences compared to other languages. To help build that understanding, I've included several challenge problems throughout this course. And I encourage you to attempt them for practice along the way.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
Declaring variables5m 46s
-
(Locked)
Integer data types6m 51s
-
(Locked)
Floating-point data types5m 34s
-
(Locked)
Arithmetic operations6m 37s
-
(Locked)
Formatting print statements5m 40s
-
Bitwise operations10m 46s
-
(Locked)
Boolean data type and operations5m 4s
-
(Locked)
Comparison operations3m 5s
-
Char data types2m 36s
-
(Locked)
Challenge: Find the average1m 20s
-
(Locked)
Solution: Find the average3m 20s
-
-
-
(Locked)
Conditional execution3m 38s
-
(Locked)
Multiple conditions3m 45s
-
(Locked)
Conditional assignment3m 41s
-
(Locked)
Loops3m 45s
-
(Locked)
While loops4m 55s
-
(Locked)
For loops6m 35s
-
(Locked)
Nested loops2m 51s
-
(Locked)
Challenge: Max, min, mean1m 13s
-
(Locked)
Solution: Max, min, mean2m 25s
-
(Locked)
-
-
(Locked)
Implement traits4m 33s
-
(Locked)
Default trait implementation1m 33s
-
(Locked)
Derive traits3m 58s
-
(Locked)
Trait bounds3m 8s
-
(Locked)
Multiple trait bounds5m 16s
-
(Locked)
Return types with implemented traits3m 40s
-
(Locked)
Challenge: Implement the display trait1m 16s
-
(Locked)
Solution: Implement the display trait1m 53s
-
(Locked)
-
-
(Locked)
Define enums3m 43s
-
(Locked)
Match operator2m 43s
-
(Locked)
Match with default placeholder4m 34s
-
(Locked)
Enum methods3m 4s
-
(Locked)
Option<T> enum5m 15s
-
(Locked)
Matching Option<T>1m 31s
-
(Locked)
If-let syntax1m 57s
-
(Locked)
Challenge: Represent a location1m 4s
-
(Locked)
Solution: Represent a location1m 20s
-
(Locked)