Collections data structure in Rust
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.