Chapter 11 - Lifetimes -- Rust Crash Course 🦀

Part of the Rust Crash Course: Welcome to the Rust Crash Course In this course, we will be learning Rust from scratch. This course is very fast paced and designed for programmers who already have some experience with another programming language such as Dart or JavaScript or Swift. We will talk about variables, constants, ownership, functions, structures, enumerations, collections such as tuples, vectors, hash-maps and iterators, optionals, error handling, lifetime specifiers, traits, pointers, generics, packages, crates, modules and paths, asynchronous programming and we will also create 2 sample applications using Rust to put all these concepts to use! Rust manages the lifetime of variables very diligently and it needs our help in doing so. In this chapter we will look at the rules that govern the lifetime of variables and when they get allocated and dropped in Rust. Timestamps: 00:00 - Lifetimes 0
В начало