Rust Strings and Str Slices - Rust Videos For Beginners - Lesson 015
Автор: Hyperbolic Time Academy
Загружено: 2021-08-11
Просмотров: 687
Описание:
Rust strings and string slices are incredibly hard to understand especially if you are coming from a different language like python and nodejs, in this lesson we will try and demystify the complexity behind heap allocated string and string slices, string literals and how to work with them.
As is common in this channel, we will have a practical approach, we will look at strings are stored in memory and in the binary (in the case of string literals), we will create a function that mimics the existing Split functions and clarify some intricacies while working string slices.
The String type has ownership over the content of the string and string slices (or str) are used to borrow from them (by references).
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: