Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Rust Programming Tutorial #31 – Hash Maps (HashMap)

25.9K views on YouTube

dcode 42 tutorials here

By using the HashMap struct in Rust, you can store a collection of Key-Value pairs. This is a common data structure found across many languages for simple and easy to use data storage.

In this video we look at some of the methods you can use on a HashMap and ways you can use it.

For your reference:
https://doc.rust-lang.org/std/collections/struct.HashMap.html

If this video helped you out and you’d like to see more, make sure to leave a like and subscribe to dcode!