Description
In this course, you will :
- Capable of learning Rust while getting your hands dirty in the process It starts with a simple "Hello World" programme and then moves on to common concepts like arrays, strings, vectors, enums, structures, traits, generic, functions, and logic.
- It delves deeper into more advanced concepts such as time management and memory management.
- By the end, you'll have a firm grasp on the fundamentals of Rust and be ready to move on to more advanced concepts.
Syllabus :
1. Introduction
- Who Is This Course For?
- Learning Outcomes
- Getting to Know RustWhy Rust?
2. Getting Started
- The Basic Program
- The Basic Formatting
- Printing Styles
- Comments
3. Variables
- What Are Variables?
- Scope and Shadowing
4. Data types
- What Are Data Types?
- Numeric Types: Integers and Floats
- Boolean
- Character and String
- ArraysTuples
- Constant Variables
5. Operators
- Introduction to Operators
- Arithmetic Operators
- Logical Operators
- Comparison Operators
- Bitwise Operators
- Assignment and Compound Assignment Operators
- Type Casting Operator
- Borrowing and Dereferencing Operators
- Precedence and Associativity
6. Conditional Expressions
- Introduction to Conditional ExpressionIf Expression
- If Let Expression
- Match Expression
- Comparison of The Different Conditional Constructs
7. Loops
- Introduction to Loops
- Definite Loop - For Loop
- Indefinite Loop - While and Loop
- Break StatementContinue Statement
- Nested LoopsLoop Labels
8. Functions
- Introduction to Functions
- Functions With Parameters
- Pass by ValuePass by Reference
- Returning a Value From a Function
- Function With Multiple Return Values
- Functions With Arrays as Arguments
9. Strings
- Introduction to Strings
- Core Methods of String Objects
- Iterating Over Strings
- Updating a String
- Slicing a String
- Functions and Strings
10. Vectors
- Introduction to Vectors
- Resizing a Vector
- Iterating Over a Vector
- Slicing a Vector
11. Structs
- Introduction to Structs
- Functions and Structs
- Methods of Structs
- Static Method of StructsTuple Structs
12. Enums
- Introduction to Enums
- Enums With Data TypeMethods of Enums
- Enums and Match Control Flow Operator
- Enums and Structures
- Option and Enum
- Result and Enum
13. Traits and Generics
- TraitsGenerics
- Challenge: Check If the Person Has a Driving License
- Solution Review: Check If the Person Has a Driving License
14. Modules
- Introduction to Modules
- Controlling Visibility Within the Same File Using 'pub'
- Control Visibility Within Different Files Using 'pub'
- Nested Modules
- The 'use' Keyword
15. Lifetime and Memory Management
- Memory Management
- Ownership
- Copy Type and Moved Type
- Ownership and Functions
- Borrowing
- Lifetimes
- Lifetime Elision