Intro to Developing User-Defined Rust Structs 🦀

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 30

  • @TrevorSullivan
    @TrevorSullivan  ปีที่แล้ว

    Check out the FULL Rust video playlist! 🦀 th-cam.com/play/PLDbRgZ0OOEpUkWDGqp91ODn0dk7LPBAUL.html

  • @Exidiful
    @Exidiful ปีที่แล้ว +6

    If everyone know this channel. No one would ever say rust is hard.
    Thanks a lot mate, because of you Im finally figuring out rust and making real apps. Really appreciate it ❤

    • @TrevorSullivan
      @TrevorSullivan  ปีที่แล้ว +3

      Wow, that is some high praise! That means a lot to me. Thank you, mate.

    • @vonmakeheat
      @vonmakeheat ปีที่แล้ว

      nah frfr he literally taught me the language in a day!!!

    • @mssafy2592
      @mssafy2592 7 หลายเดือนก่อน +1

      100% , I swear I've read the rust book and watched many courses and nothing like this playlist !!!!!!

  • @judevector
    @judevector หลายเดือนก่อน

    Seriously you really teach well and i can't believe i am beginning to enjoy Rust, something that has eluded me for years . Finally

    • @TrevorSullivan
      @TrevorSullivan  หลายเดือนก่อน +1

      @@judevector thank you! I'm so happy to hear you're learning Rust! 🦀

  • @alexandersenetcky492
    @alexandersenetcky492 2 หลายเดือนก่อน

    I bounce across several of these videos, they're all just so good.

  • @lordmelbury7174
    @lordmelbury7174 ปีที่แล้ว +2

    Cheers Trevor! - Subscribed!

    • @TrevorSullivan
      @TrevorSullivan  ปีที่แล้ว +1

      😊 thank you for your support!! I hope this channel has been helpful for you.

  • @dabunnisher29
    @dabunnisher29 9 หลายเดือนก่อน

    This whole Rust tutorial series is amazing. Thank you so much for all your hard work and time on it.

    • @TrevorSullivan
      @TrevorSullivan  9 หลายเดือนก่อน

      Thank you! It is a lot of work, but it's people like you who motivate me to keep on going. I appreciate your comment, and I'm glad you're learning Rust! 🥰🦀

  • @pratikkulkarni891
    @pratikkulkarni891 ปีที่แล้ว

    Thank you! This was one of the most structured videos I have seen on this topic, appreciate it.

  • @WanjikuKimani-pe8eh
    @WanjikuKimani-pe8eh 6 หลายเดือนก่อน +1

    You have amazing rust content🙌

  • @hohojei1
    @hohojei1 ปีที่แล้ว +2

    I like your video as the explanation is clear~~ Thanks for the work

  • @DieDona
    @DieDona 11 หลายเดือนก่อน +1

    thank you!

  • @scottb4029
    @scottb4029 ปีที่แล้ว

    Thank you so much! I have been trying to get the idea of options to work in my head. I have awesome mentors but I just keep blocking. This broke it down!

  • @frippgustafsson6162
    @frippgustafsson6162 15 วันที่ผ่านมา

    In an earlier video, I think you said that bit of text surrounded by double quotes is of type String. If that is correct, why do you have to do "Porsche".to_string()? And why is the word string in all lower case in this function name?

    • @TrevorSullivan
      @TrevorSullivan  13 วันที่ผ่านมา

      Good question; I agree it can be very confusing. There are a couple types of strings in Rust. I would reference this for starters: doc.rust-lang.org/rust-by-example/std/str.html
      Notice that String is heap-allocated, whereas &str is a fixed size on the stack.

  • @ok-alarm
    @ok-alarm 10 หลายเดือนก่อน +1

    everything is fine until 37:43 , I got lost on that 😂, excellent tutorial tho! thanks so much!

    • @TrevorSullivan
      @TrevorSullivan  10 หลายเดือนก่อน +3

      Lifetimes are definitely challenging to understand at first. Basically it's a way for a developer to declare how long a particular value needs to "live" for, relative to other values. At some point I'll need to make a dedicated video to this topic. I still can't figure out how to explain it in an easy to understand way! 😆

    • @ok-alarm
      @ok-alarm 10 หลายเดือนก่อน +1

      @@TrevorSullivan oh man! yes please! I've been struggling recently on lifetimes.. At first, I think I got it, then when I try it myself everything went south so fast 🤣

    • @Gj1118
      @Gj1118 9 หลายเดือนก่อน

      @@TrevorSullivan Please do so. Even I got lost at the exact same minute. Thanks a ton . Following this series quire religiously. Thanks once again.

    • @TrevorSullivan
      @TrevorSullivan  9 หลายเดือนก่อน

      @@Gj1118 thank you! If I ever figure out a good use case for specifying lifetimes, I'll do a video on that topic to clarify things. I hope you've learned something aside from that! I appreciate your support.

  • @salaar-zj2ks
    @salaar-zj2ks 7 หลายเดือนก่อน

    Did you made any video on liferimes?

    • @TrevorSullivan
      @TrevorSullivan  7 หลายเดือนก่อน +2

      Hi there! No I have not made any videos dedicated to lifetimes yet. Thanks for checking!

    • @salaar-zj2ks
      @salaar-zj2ks 7 หลายเดือนก่อน +1

      @@TrevorSullivan Can you please make one on Lifetimes and Futures topics

    • @TrevorSullivan
      @TrevorSullivan  7 หลายเดือนก่อน +1

      @@salaar-zj2ks I already have a video on async futures! Actually two videos. I will certainly consider making one on lifetimes. I know that some other creators have already covered this topic fairly well.

    • @salaar-zj2ks
      @salaar-zj2ks 7 หลายเดือนก่อน

      @@TrevorSullivan great thanks for your efforts

  • @anjonsarker2374
    @anjonsarker2374 ปีที่แล้ว

    Fine