Idiomatic Rust - Constructors
Автор: Let's Get Rusty
Загружено: 2022-03-26
Просмотров: 46487
Описание:
Join our Rust Live Accelerator waitlist (free Rust Job-Ready Roadmap inside):
https://letsgetrusty.com/join
Let’s Get Rusty is the #1 Rust education & career development platform for engineers who want real-world skills and results. We combine a structured curriculum, industry-grade projects, expert review and feedback, and our Rust recruiter network — to help you master Rust and get hired.
· The Rust programming language has a lot of great features but it's not always obvious how to write Rust code in an idiomatic way. So today we are starting a series all about idiomatic Rust! In this video I cover constructors in Rust.
📝Get your FREE Rust cheat sheet :
https://www.letsgetrusty.com/cheatsheet
Code: https://github.com/letsgetrusty/rust_...
Chapters:
0:00 Intro
0:25 Rust has only one true constructor
2:40 The new constructor function
5:47 Default constructors
8:31 Deriving the Default trait
10:00 The derive-new crate
12:39 Outro
#rust #programming #idiomatic
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: