← All freeCodeCamp videos

Rust Programming Course for Beginners - Tutorial

359,403 views 6,665 likes 2021-11-30 1:25:37 Watch on YouTube ↗ freeCodeCamp ↗
Computer ScienceRust

Chapters (41)

Show the creator's full description
Learn the Rust programming language in this course for beginners. ✏️ Shaun Hamilton created this course. 💻 Rust Template used in video: https://replit.com/@Sky020/Rust-Template?v=1 ⭐️ Resources ⭐️ 🔗 Slides: https://docs.google.com/presentation/d/1k2kPfrLunscHV4n-4IoC3D78dNR6R1Rhdi039PCG-Wk/edit?usp=sharing 🔗 Article version: https://www.freecodecamp.org/news/rust-in-replit/ 🔗 Rust in Replit Course: https://replit.com/github/freeCodeCamp/Rust-in-Replit Thanks to Replit for providing a grant that made this course possible. ⭐️ Course Contents ⭐️ ⌨️ (00:00) Course Introduction ⌨️ (01:16) Rust Overview ⌨️ (02:00) Initialising the CLI Calculator ⌨️ (04:25) Handling Environment Arguments ⌨️ (09:00) Understanding the nth Method ⌨️ (16:00) Parsing Strings into Floats ⌨️ (18:05) Declaring a Function ⌨️ (18:30) If Statements ⌨️ (21:20) Implicit Returns ⌨️ (22:25) Parsing String into Char ⌨️ (23:20) Formatting Output ⌨️ (25:20) Match Control Flow ⌨️ (27:05) Panicking! ⌨️ (28:30) Building a Release ⌨️ (29:30) Initialising the Image Combiner ⌨️ (30:00) Creating Args Module ⌨️ (31:08) Structs ⌨️ (32:30) Declaring the New Module ⌨️ (33:20) Private vs Public ⌨️ (34:30) Implementing the New Function ⌨️ (36:40) Deriving the Debug Trait ⌨️ (37:40) Using get_nth_arg in Struct ⌨️ (38:57) External Crates ⌨️ (39:52) Decoding Images ⌨️ (43:15) Destructuring Tuples ⌨️ (43:56) Importing Missing Types ⌨️ (44:35) Handling Format Errors with Result ⌨️ (46:00) Enums ⌨️ (47:20) Resizing Images ⌨️ (55:00) FloatingImage Struct ⌨️ (56:35) Buffers with Vecs ⌨️ (58:15) TryInto Conversions ⌨️ (1:00:05) Deriving Debug for Enums ⌨️ (1:00:40) Running the Code with Images ⌨️ (1:02:25) Combining the Image Pixels ⌨️ (1:11:20) Understanding Borrows and References ⌨️ (1:12:15) Creating Methods ⌨️ (1:15:20) Error Propagation ⌨️ (1:15:53) Saving the New Image ⌨️ (1:17:30) Using the Image Combiner ⌨️ (1:18:20) Better Error Handling 🎉 Thanks to our Champion and Sponsor supporters: 👾 Raymond Odero 👾 Agustín Kussrow 👾 aldo ferretti 👾 Otis Morgan 👾 DeezMaster -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.