Structs in Rust

preview_player
Показать описание
The ultimate Rust lang tutorial. Follow along as we go through the Rust lang book chapter by chapter.

0:00 Intro
0:36 Defining/Using Structs
3:39 Function Constructors
5:13 Reusing Instance Data
6:00 Tuple Structs
7:10 Example Use Case
11:43 Method Syntax
15:11 Associated Functions
16:47 Outro

#letsgetrusty​ #rust​lang #tutorial
Рекомендации по теме
Комментарии
Автор

It is kinda helpful that rust tels you what's wrong and you don't have to search the error on stackoverflow

advanceringnewholder
Автор

Awesome, you manage to provide so much helpful information in such a limited time and make it clear at the same time

UncleBenZ
Автор

I just read the structs chapter from the book. You are giving a fantastic walkthrough of the topic. Much easier to follow.

tiagomello
Автор

Thanks for these tutorial.
I was very dubious by the lack of OOP in Rust but implementations in structs has definitely converted me.
Let's get Rusty :D

nicejungle
Автор

thank you you saved me from rage quitting.

zainjadoon
Автор

Following the course - it's getting powerful already, and we're not very far in. Nice!

chairmakerPete
Автор

This is fantastic, THANK YOU! I was looking for videos on Rust to get a feeling of it (learning casually whenever I have some minutes to spare, no coding yet) and the ones I found before yours were either too slow, too advanced or too light on code. But the way you do it is perfect for me. Explain, show example, repeat. Really awesome, thank you!

rafaboanova
Автор

Simply AMAZING. Props bro, you are really making the difference.

douglaspiresmartins
Автор

Such a wonderful course, congrats and thank you for the effort you put into this.

ChristianAltamiranoAyala
Автор

These tutorials are amazing I never realized how good tuples were until now

verdellx
Автор

Thanks for your great content!

Your background music is a bit noisy, if you can disable it while recording videos, that helps alot for focusing on learning!

RedCrabs-el
Автор

Weirdly reminded me of TheNewBoston's C++ videos. Nostalgic. Great Tutorial

sonicsplasher
Автор

god bless your soul the best rust tutorial online!

LebronJames-mjuz
Автор

Very helpful :) i find these videos much easier to understand then the books

jhjacobs
Автор

Man, VS Code is freaking awesome for Rust.

Christobanistan
Автор

Love your tutorials. One "why can't" question.

Why can't String types accept String literals? It seems like the compiler could easily determine if a String type was needed, and cut down on some boilerplate

LukePighetti
Автор

You are just an awesome man. Thanks for this great content!

joaquimgregorio
Автор

love these, thanks so much for making them

homtom
Автор

Awesome, I hope there is goodness coming in future videos as well. Keep up the good work.

rohanbhandari
Автор

Great video! I'm curious what is happening at 2:50. Is the new "name" variable taking ownership of the username string, is it a reference or does it implicitly clone it?

Erfa