Collections data structure in Rust
Learn about Collections data structure in Rust. What collections is available and how to use it
Collections is a number of data structures, that already available in standard library in Rust.
Collections can contains multiple values.
Every kind of collection has different power and costs. We need to know what and when to use it.
In general there are 3 collections in Rust:
- Vector. Store a variable number of values
- String, collection of characters
- Hash Map, use key value as a pair.