Rust HashMap and HashSet Collection Types 🦀

  Рет қаралды 6,187

Trevor Sullivan

Trevor Sullivan

Күн бұрын

Пікірлер: 10
@TrevorSullivan
@TrevorSullivan Жыл бұрын
Check out the full Rust playlist for more Rust programming videos! 🦀 ➡➡➡➡ kzbin.info/aero/PLDbRgZ0OOEpUkWDGqp91ODn0dk7LPBAUL
@fabricehategekimana5350
@fabricehategekimana5350 Жыл бұрын
I am very grateful for the work you do! The quality and resources are great. God bless you
@TrevorSullivan
@TrevorSullivan Жыл бұрын
You are very kind. Thank you so much for your support. God bless you and keep you as well. ✝️
@shreyansh_shrivastva
@shreyansh_shrivastva 22 күн бұрын
Thanks for the tutorial. However in stock_list.remove you didnt need to convert it to string and then pass the pointer as doing just "text" returns you a pointer. So thats an unnecessary step as far I understand.
@shailendrajadhav8603
@shailendrajadhav8603 Жыл бұрын
Thank you for creating this playlist; these are easy to understand examples. Would you consider creating a real world application using all these concepts?
@TrevorSullivan
@TrevorSullivan Жыл бұрын
Thank you! Yes, I would certainly consider creating a full application. I'm focusing on the core concepts of Rust for now, but once we cover most of those, I'll create some practical Rust applications! Rust on! 🦀🦀
@MH-bw9lh
@MH-bw9lh Жыл бұрын
Hi Sullivan, when removing the "AAPL".to_string() from the stock list, why a & is needed ?🤔
@TrevorSullivan
@TrevorSullivan Жыл бұрын
That's an excellent question. I believe the simplest answer is that the .remove() method signature requires a borrow of the underlying key type. In this case, my HashMap key was of type String, so in order to satisfy the method signature, I had to use &String. That is essentially what the documentation says here doc.rust-lang.org/stable/std/collections/struct.HashMap.html#method.remove
@ojoawojoshua780
@ojoawojoshua780 6 ай бұрын
Pls can you create how to build a full backend system in rust and also how to build a smart contract more like DAPPs etcs in rust.
@oladapooyin1238
@oladapooyin1238 5 ай бұрын
Thank you Trevor!
Popular Rust Iterator Methods 🦀
54:54
Trevor Sullivan
Рет қаралды 9 М.
Share Rust Thread Data With Mutexes 🦀 Rust Tutorial
35:36
Trevor Sullivan
Рет қаралды 5 М.
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
This is your last video about Golang Structs!
15:57
Flo Woelki
Рет қаралды 12 М.
Beginner's Guide to Rust Data Types and Variables 🦀
26:12
Trevor Sullivan
Рет қаралды 11 М.
Rust Functions Are Weird (But Be Glad)
19:52
Logan Smith
Рет қаралды 155 М.
Parse CLI Arguments With Rust Standard Crate 🦀📦 Rust Tutorial
26:50
Crust of Rust: std::collections
2:45:04
Jon Gjengset
Рет қаралды 74 М.
Rust Generics and Traits: Define Common Struct Behaviors 🦀
32:23
Trevor Sullivan
Рет қаралды 8 М.
Hash Table in Rust
2:54:25
Tsoding Daily
Рет қаралды 13 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 196 М.
Rust Threading Basics 🦀 Rust Tutorial
28:26
Trevor Sullivan
Рет қаралды 9 М.