
Explore how Rust combines speed and memory safety, and follow a curriculum from installation to ownership concepts, generics, traits, closures, iterators, lifetimes, threads, macros, and async code.
Install rust and run your first program using rust-lang.org resources, cargo, and a web-based compiler; explore VS Code, rustfmt, clippy, and online sharing features for rapid Rust development.
Develop a Rust program by creating a cargo project, writing a main function as the entry point, and saving changes before compiling and running.
Explore essential VS Code preferences, including format on save, cursor blinking, code zoom with the mouse wheel, terminal font sizing, window zoom, and shortcuts like toggle terminal and sidebar visibility.
Discover how honest reviews help students choose courses and guide instructors to improve, and learn how to rate and comment on Udemy with clear steps.
Please find details for the quick reference material for the course in the form of cheatsheets. They will be helpful for you in recalling the basic syntax.
Rust Cheat Sheets list
Extensive Cheat Sheets
1. The Rust Cheat Sheet by cheats.rs
Online Link: https://cheats.rs/
Description: An extensive cheat sheet touching almost all important aspects of the languages.
________________________________________________________________________
2. Rust in a Nutshell
Online Link: https://github.com/donbright/rust-lang-cheat-sheet/blob/master/README.md
Description: A detailed overview of the syntax covering both beginner and advance level topics.
________________________________________________________________________
3. Rust Cheat Sheet by Zero to Mastery
Online Link: https://zerotomastery.io/cheatsheets/rust-cheat-sheet/
Description: Another detailed and extensive cheat sheet.
________________________________________________________________________
Moderate level Cheat Sheets
4. LGR Rust Cheat
Online Link: https://docs.google.com/document/d/1kQidzAlbqapu-WZTuw4Djik0uTqMZYyiMXTM9F21Dz4/edit
Description: Intermediate level cheat sheet.
________________________________________________________________________
Compact Cheat Sheets
5. Rust Cheat Sheet by QuickRef.Me (Online Only)
Online Link: https://quickref.me/rust.html
Description: Brief and a quick reference.
________________________________________________________________________
6. Rust Cheat Sheet (One pager)
Online Link: https://phaiax.github.io/rust-cheatsheet/
Description: A one pager cheat sheet.
________________________________________________________________________
7. Rust Container Cheat Sheet (One pager)
Online Link: https://docs.google.com/presentation/d/1q-c7UAyrUlM-eZyTo1pd8SZ0qwA_wYxmPZVOQkoDmH4/
Description: A one pager cheat sheet for understanding different types of containers in rust.
________________________________________________________________________
Download all the codes files that we will use in this section of the course
Define Rust variables using let and explore mutability, scope, and shadowing, then declare constants with explicit types to understand binding, type inference, and compile-time values.
Explore compound data types in the Rust programming course, including string slices and strings, arrays, vectors, tuples, and the unit type, with indexing, debug printing, and destructuring.
Learn to declare and call Rust functions with fn and main, using snake_case and explicit parameter types, return values, expressions vs statements, and code blocks with scope.
Master Rust control flow by using loops, breaks, and labeled breaks. Explore for and while loops and the difference between compound data types and collections.
Explore rust for loop syntaxes using ranges, exclusive and inclusive ends, and step_by for custom increments; use reverse for descending orders and destructuring for vectors of tuples.
Master comments, the print macro, and escape sequences to write clearer, well-structured Rust code, using positional and named arguments, quotes handling, and backslash tricks.
Explore rust compiler directives as annotations that guide the compiler on parsing code, applicable to variables, functions, or whole files, including the allow directive to suppress unused warnings.
Learn how associativity directs evaluation in Rust, with left associative arithmetic and right associative assignment. Discover why explicit boolean conditions and operator overloading via traits matter.
Explore rust ownership rules, including move on assignment, single owner concept, and drop on scope exit, plus clone for deep copies and stack-heap memory layout.
Explore how ownership moves through Rust functions, including take ownership, give ownership, and take-and-return patterns for heap-allocated vectors. See stack data is copied, and when cloning or references are used.
Explore Rust's borrowing basics by learning how references work with ownership, differentiate mutable and immutable references, and apply rules that prevent data races and dangling references.
Explore dereferencing in Rust by following references to access values, distinguish borrowing from dereferencing, and apply the star operator to stack and heap allocated types, including vectors.
Master the basics of structs, including named field, tuple, and unit-like structs, learning to define, initialize, and access fields with dot notation while managing ownership and mutability.
Extend structs with implementation blocks to add behavior. Use self forms (immutable, mutable, and owned), plus dot notation and new as an associated function.
Explore Rust enums, their variants, and associated data. Learn to use match expressions, implement methods, and distinguish enums from structs to model diverse data like travel types.
Explore rust's result enum for explicit error handling by improving a student database example; learn to replace option with result, use ok and error variants, and handle failures with match.
This lecture is serves as a prerequisite for the next lecture on method chaining
Master Rust method chaining constraints by examining how owned, mutable, and immutable self shape chainability. The lesson uses a bank account example to illustrate constructors, deposits, withdrawals, and owner changes.
This lecture is serves as a prerequisite for the next lecture on Destructured Struct Parameters
Discover how Rust pattern matching destructures struct fields to access only the needed data. Learn about bindings in match arms and function parameters, including concrete values and ignored fields.
Explore how Rust modules organize code into product, customer, and order units, control visibility with pub, and use absolute or relative paths and use declarations to simplify scope.
Visualize and organize Rust modules with cargo modules, learning to generate a module tree and organize modules via separate files or folders using mod.
Learn to test panics with the shouldPanic attribute and verify optional panic messages. Compare panic-based constructors with non-panicking variants returning results, and organize tests in a module.
Explore how cargo test generates and filters test reports for binary and library crates, view outputs, and manage ignored tests and patterns to focus on relevant tests.
Explore integration tests that verify how library components work together through the public interface. Store tests in the top-level tests directory, with each file compiling as a separate crate.
Benchmark the performance of two sorting implementations to see if changes speed up processing time, using the criterion crate, cargo bench, and the benches directory.
Rust generics define functions, structs, enums, and traits with type placeholders to enable flexible, reusable code. The Point example shows generic coordinates and how monomorphization yields compile-time implementations without overhead.
Explore trait bounds that constrain a generic type to implement the shape trait, enabling access to area and parameter methods through imple trait syntax and where clause.
Explore static vs dynamic dispatch in Rust, learn how monomorphization creates specialized code, and use trait objects behind pointers like Box and dyn to enable flexible return types.
Learn how derived traits automatically implement common traits (debug, partial eq, clone, default) for structs and enums, and explore marker traits like properties that enforce required traits via super traits.
Explore closures in Rust, storing anonymous functions, passing them to other code, and understanding how they capture variables and implement Fn, FnMut, and FnOnce.
Explore the iterator design pattern in Rust by implementing the iterator trait, defining an associated type item, and using next to yield items; master for loops that consume iterators.
Apply combinators with iterators to filter fruit words starting with a or b, map them to uppercase, and collect into a vector, while noting lazy evaluation.
Learn to treat an option as an iterator and extend a vector by chaining iterators, filtering, and flattening to collect only some values in Rust.
Programming languages usually have some tradeoffs. There are low level languages like C anc C++ usually have speed and control at the cost of memory safety. On the other hand, we high level languages such as python or java script are more safer but are not very efficient from power and speed perspectives. With rust we have best of both the worlds. More specifically, it is a system programming language which means they have speed and control but at the same time are much much better because of the safety features just like high level languages. This makes rust so clearly standout among all the other programming languages.
Its popularity is increasing day by day and is therefore being adapted by bigger companies world wide. Google is also planning to use Rust in the Linux kernel, Microsoft, meanwhile, has turned to Rust to reduce memory-related bugs in Windows and Facebook has also forged closer ties with Rust, joining the Rust Foundation. All these are clear indications that Rust is gaining significant attention of the community.
At 18+ hours of video tutorials, this course will take you from beginner to master level. This course is designed from a perspective of a student who has no prior knowledge of RUST and who is a RUST beginner.
Throughout this comprehensive course, we cover a massive amount of skills and techniques including:
Basic rust programming syntax and Common Rust Collectors
Enums, Traits, Structures, Generics, Lifetimes and Closures
Rust Module System, the use of External Crates and Publishing Crates
Smart Pointers and Commonly used Data Structures including Linklists, Trees, BST and Doubly Linklists
Advance Techniques including Macros, Concurrency and Aysnc Programming
Real Life Problem where we will learn solving 13 Real Life problems in rust
Efficient programming skills including Design Patterns, Efficient handling of Options, Strings and Structures
Variance and Sizedness in rust
Dropping Values and their Relevant Issues
Textual Processing and Directory Handling
Webprogramming
The course ensures that you learn by doing
Practice exercise questions along with solutions
Quizes and
Assignments
By taking this course, you will become a fluent in RUST programming and you'll be so good so that you can confidently and professionlay code in the language.
Don't just rely on my word, check what some of our existing students have to say about my courses.
"I had viewed the video in the propose sequence, as well, as I had looked at some videos outside of the instructor propose sequence, and only had one thing to say: - This course is excellent" Gabriel Federo Hungria
"I have gone through the course on MATLAB Gui by the instructor. It was an A++ experience. He is the best instructor, really professional and knows exactly what to teach. Thanks for your wonderful contribution to help us understand MATLAB." Kunal Singh
"Very interesting course, complete functionality of Matlab was explained and the quizzes further helped with the learning process." Hassan Ayub
Pleaset note… I am very confident that you will like the course and therefore provides you with a FULL money back guarantee for 30 days! So there is a ZERO risk and nothing to loose.
Finally, i am super excited to teach you RUST programming, so hit enroll and enjoy learning RUST