Slice in Rust -  Full Crash Rust Tutorial for Beginners @francescociulla
Slice in Rust -  Full Crash Rust Tutorial for Beginners  @francescociulla
Uploaded March 2024 | Updated November 2026, 3 hours ago
Welcome to the Full Crash Rust Tutorial for Beginners

Rust has a built-in type called Slice that is used to reference a contiguous sequence of elements in a collection.

Slices are a very important concept in Rust, and they are used extensively in the standard library.

In this lesson, we will explore the Slice type and how it is used in Rust.

🦀 All the lessons:
Installation and Hello World: youtu.be/R33h77nrMqc
Variables: youtu.be/6Ag0MZUlvBE
Data Types: youtu.be/NyqJp5M3hRE
Functions: youtu.be/hJLc2Zu405A
Basic Control flow: youtu.be/2w_FTiD74JI
Ownership: youtu.be/9VBLOwmNE1g
References and Borrowing: youtu.be/Q_0yoX07Fhs
Slices: youtu.be/dKymZbFp0ZQ
Structs: youtu.be/PCjuO-Bv5FI
Struct Example: youtu.be/mgK5LezkHl8
Methods: youtu.be/94iSHoKmPmY


0:00 What are Slices in Rust
0:51 Slices of arrays, vectors, and Strings
2:48 Range shortcuts for Slices
4:12 Exercise: getting the first word of a String (without Slices). A problem
6:40 Getting the first word of a String (with Slices)
8:55 Slices and string literals
11:25 Conclusion

ALL THE LINKS HERE: francescociulla.com
Slice in Rust -  Full Crash Rust Tutorial for BeginnersUsing The Box Smart pointer to Point to Data on the Heap - Full Crash Rust Tutorial for BeginnersMaster Rust Collections: Vectors, Enums, and Iteration - Full Crash Rust Tutorial for BeginnersDocker init - Docker short tutorialBuild a CRUD Rest API in Python using Flask, Postgres, Docker and Docker compose #python #dockerPaths in rust - Full Crash Rust Tutorial for BeginnersTime & Space Complexity: The Easy Way (DSA Course)Building a game in Rust - #rustlang  #softwareengineer #programming #programmer  #coding  #softwareLearn the Rust programming language - Course for beginnersGenerics, Traits, and Lifetimes in Rust: Concepts & Examples -Full Crash Rust Tutorial for BeginnersBuild an MCP Server using Rust and Docker - AI and the Model Context ProtocolBuild a CRUD Rest API in TypeScript, using Nest.js, TypeORM, Postgres, Docker and Docker Compose
Francesco Ciulla |

Slice in Rust - Full Crash Rust Tutorial for Beginners

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER