5
Data Structures
Now that we understand Rust syntax and crate management, it's time to jump into the Rust standard library. We can think of this as Rust's version of the C++ Standard Template Library (STL). Despite some differences in approach, the C++ STL and Rust standard library provide much of the same functionality for working with different data structures, or containers, as C++ refers to them. In this chapter, we'll explore the most used containers in the Rust standard library and explain many Rust language and library concepts that help us use them more effectively.
In this chapter, we're going to cover the following main topics:
- Fundamentals of Rust data structures
- Working with indexed data
- Using dictionary types