Rust Crash Course | #14 Structs

Опубликовано: 14 Октябрь 2024
на канале: Code of the Future
1,853
112

Welcome back to video number 14 in this Rust tutorial series! In this video, we learn all about structs! Structs are incredibly important to Rust so make sure you follow this video at your own pace and feel free to ask any questions in the comments!

📖Resources📖
Rust Online Book: https://doc.rust-lang.org/book/

💻Code💻
https://github.com/code-of-the-future...

⏰Time Stamps⏰
00:00 - Recap of Previous Video (Pointers and References)
00:25 - Introduction to Structs
01:35 - An Example of a Struct
01:45 - Traditional Structs
03:20 - Calling a Struct (Creating Instances)
05:52 - Changing Field Values in a Struct
07:49 - Tuple Structs
10:57 - Structs with Functions (using implementation 'impl')
19:10 - Methods
23:22 - Overview and Recap

🔗 Social Media Links 🔗
📸 Instagram:   / codeofthefuture  
📱TikTok:   / codeofthefuture  
📘Facebook:   / codeofthefuture  
🦜Twitter:   / code_ot_future  
📝LinkedIn:   / code-of-the-future  
📂GitHub: https://github.com/code-of-the-future

💸 Donations 💸
One-Time Donations: https://ko-fi.com/codeofthefuture
Patreon:   / code_of_the_future