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 #12 – Tuples

28.2K views on YouTube

dcode 42 tutorials here

In this video I take you through the use of tuples in Rust. Tuples are essentially just a collection of values which may or may not be of the same type – they can even store other tuples!

I go over how you can access elements of a tuple and how to use destructing assignment to declare multiple variables from a tuple.

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