Rust: Structs

preview_player
Показать описание
(The last upload of "Rust: Structs" had audio problems. This is the fixed audio version)
Rust structs are custom data types that allow you to group together related values that represent something meaningful in your program.

Structs are extremely common in Rust and you will need to know how to understand them, work with them, and create your own to be successful as a Rust programmer.

In this video we will discuss:
1. creating your own data types as structs
2. initializing instances of them
3. adding associated function to them

Music by Brad Kemp
Рекомендации по теме
Комментарии
Автор

Hey really nice videos -- they deserve wayyyy more views! Love the smooth intro sequence. IMO some of the best quality intro Rust videos out there.

danielwilhelm
Автор

love that rust has spread operator... but putting it after the field you want to keep?!? 🤯

aricsebastian