Intro to Developing User-Defined Rust Structs 🦀

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 30

  • @TrevorSullivan
    @TrevorSullivan  Год назад

    Check out the FULL Rust video playlist! 🦀 ruclips.net/p/PLDbRgZ0OOEpUkWDGqp91ODn0dk7LPBAUL

  • @Exidiful
    @Exidiful Год назад +7

    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 8 месяцев назад +1

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

  • @alexandersenetcky492
    @alexandersenetcky492 4 месяца назад

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

  • @lordmelbury7174
    @lordmelbury7174 Год назад +3

    Cheers Trevor! - Subscribed!

    • @TrevorSullivan
      @TrevorSullivan  Год назад +1

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

  • @judevector
    @judevector 2 месяца назад

    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  2 месяца назад +1

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

  • @WanjikuKimani-pe8eh
    @WanjikuKimani-pe8eh 8 месяцев назад +1

    You have amazing rust content🙌

  • @dabunnisher29
    @dabunnisher29 10 месяцев назад

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

    • @TrevorSullivan
      @TrevorSullivan  10 месяцев назад

      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.

  • @hohojei1
    @hohojei1 Год назад +2

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

  • @DieDona
    @DieDona Год назад +1

    thank you!

  • @ok-alarm
    @ok-alarm 11 месяцев назад +1

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

    • @TrevorSullivan
      @TrevorSullivan  11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад

      @@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  11 месяцев назад

      @@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.

  • @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 2 месяца назад

    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  Месяц назад

      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.

  • @salaar-zj2ks
    @salaar-zj2ks 8 месяцев назад

    Did you made any video on liferimes?

    • @TrevorSullivan
      @TrevorSullivan  8 месяцев назад +2

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

    • @salaar-zj2ks
      @salaar-zj2ks 8 месяцев назад +1

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

    • @TrevorSullivan
      @TrevorSullivan  8 месяцев назад +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 8 месяцев назад

      @@TrevorSullivan great thanks for your efforts

  • @anjonsarker2374
    @anjonsarker2374 Год назад

    Fine