OneBite.Dev - Coding blog in a bite size

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:

← If and let in Rust Contro...
Vector: collection in Rus... →
rust