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 #17 – Structs

29.3K views on YouTube

dcode 42 tutorials here

In this video I take you through how you can create and use your own structs in Rust.

Structs allow you to group similar pieces of information together to make a new simple data type you can then use later on.

It can make your code much cleaner and easier to read.

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